Files
Vlad Durnea cffdf8af86
Some checks failed
CI/CD Pipeline / unit-tests (push) Failing after 1m16s
CI/CD Pipeline / integration-tests (push) Failing after 2m32s
CI/CD Pipeline / lint (push) Successful in 5m22s
CI/CD Pipeline / e2e-tests (push) Has been skipped
CI/CD Pipeline / build (push) Has been skipped
wip:milestone 0 fixes
2026-03-15 12:35:42 +02:00

20 lines
886 B
TypeScript

import { V as ViteNodeServerOptions } from './index.d-DGmxD2U7.js';
import './trace-mapping.d-DLVdEqOp.js';
interface CliOptions {
"root"?: string;
"script"?: boolean;
"config"?: string;
"mode"?: string;
"watch"?: boolean;
"options"?: ViteNodeServerOptionsCLI;
"version"?: boolean;
"help"?: boolean;
"--"?: 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 type { CliOptions, ViteNodeServerOptionsCLI };