initial commit
This commit is contained in:
16
node_modules/vite-node/dist/cli.d.ts
generated
vendored
Normal file
16
node_modules/vite-node/dist/cli.d.ts
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
import { e as ViteNodeServerOptions } from './types-fc7e68bc.js';
|
||||
|
||||
interface CliOptions {
|
||||
root?: string;
|
||||
config?: string;
|
||||
watch?: boolean;
|
||||
options?: ViteNodeServerOptionsCLI;
|
||||
'--'?: string[];
|
||||
}
|
||||
type Optional<T> = T | undefined;
|
||||
type ComputeViteNodeServerOptionsCLI<T extends Record<string, any>> = {
|
||||
[K in keyof T]: T[K] extends Optional<RegExp[]> ? string | string[] : T[K] extends Optional<(string | RegExp)[]> ? string | string[] : T[K] extends Optional<(string | RegExp)[] | true> ? string | string[] | true : T[K] extends Optional<Record<string, any>> ? ComputeViteNodeServerOptionsCLI<T[K]> : T[K];
|
||||
};
|
||||
type ViteNodeServerOptionsCLI = ComputeViteNodeServerOptionsCLI<ViteNodeServerOptions>;
|
||||
|
||||
export { CliOptions, ViteNodeServerOptionsCLI };
|
||||
Reference in New Issue
Block a user