Files
agency/.pnpm-store/v3/files/21/5185b4f4f72f710c2da5aa5eb54aa8d99b9954358cd435508d79c10855d818d634e52ee995ddf69bf6ce570440d013c9d8eac11694d2921520a462d2859543
hanzo-agent 5af6960b87 run project
Run: sess_f37640604ae254cb4d11dc6217f7b721
2026-09-30 00:04:56 +00:00

30 lines
727 B
Plaintext

/**
* @fileoverview Types for this package.
*/
import type { ConfigObject } from "@eslint/core";
/**
* Infinite array type.
*/
export type InfiniteArray<T> = T | InfiniteArray<T>[];
/**
* The type of array element in the `extends` property after flattening.
*/
export type SimpleExtendsElement = string | ConfigObject;
/**
* The type of array element in the `extends` property before flattening.
*/
export type ExtendsElement = SimpleExtendsElement | InfiniteArray<ConfigObject>;
/**
* Config with extends. Valid only inside of `defineConfig()`.
*/
export interface ConfigWithExtends extends ConfigObject {
extends?: ExtendsElement[];
}
export type ConfigWithExtendsArray = InfiniteArray<ConfigWithExtends>[];