UNPKG

6.12 kBTypeScriptView Raw
1declare type Argument0<T> = T extends ((x: infer X, ...z: any[]) => any) ? X : never;
2declare type Argument1<T> = T extends ((a: any, x: infer X, ...z: any[]) => any) ? X : never;
3declare type Argument2<T> = T extends ((a: any, b: any, x: infer X, ...z: any[]) => any) ? X : never;
4declare type Argument3<T> = T extends ((a: any, b: any, c: any, x: infer X, ...z: any[]) => any) ? X : never;
5declare type Argument4<T> = T extends ((a: any, b: any, c: any, d: any, x: infer X, ...z: any[]) => any) ? X : never;
6declare type Argument5<T> = T extends ((a: any, b: any, c: any, d: any, e: any, x: infer X, ...z: any[]) => any) ? X : never;
7declare type Argument6<T> = T extends ((a: any, b: any, c: any, d: any, e: any, f: any, x: infer X, ...z: any[]) => any) ? X : never;
8declare type Argument7<T> = T extends ((a: any, b: any, c: any, d: any, e: any, f: any, g: any, x: infer X, ...z: any[]) => any) ? X : never;
9declare type Argument8<T> = T extends ((a: any, b: any, c: any, d: any, e: any, f: any, g: any, h: any, x: infer X, ...z: any[]) => any) ? X : never;
10declare type Argument9<T> = T extends ((a: any, b: any, c: any, d: any, e: any, f: any, g: any, h: any, i: any, x: infer X, ...z: any[]) => any) ? X : never;
11declare type Argument10<T> = T extends ((a: any, b: any, c: any, d: any, e: any, f: any, g: any, h: any, i: any, j: any, x: infer X, ...z: any[]) => any) ? X : never;
12declare type Argument11<T> = T extends ((a: any, b: any, c: any, d: any, e: any, f: any, g: any, h: any, i: any, j: any, k: any, x: infer X, ...z: any[]) => any) ? X : never;
13declare type Argument12<T> = T extends ((a: any, b: any, c: any, d: any, e: any, f: any, g: any, h: any, i: any, j: any, k: any, l: any, x: infer X, ...z: any[]) => any) ? X : never;
14declare type Argument13<T> = T extends ((a: any, b: any, c: any, d: any, e: any, f: any, g: any, h: any, i: any, j: any, k: any, l: any, m: any, x: infer X, ...z: any[]) => any) ? X : never;
15declare type Argument14<T> = T extends ((a: any, b: any, c: any, d: any, e: any, f: any, g: any, h: any, i: any, j: any, k: any, l: any, m: any, n: any, x: infer X, ...z: any[]) => any) ? X : never;
16declare type Argument15<T> = T extends ((a: any, b: any, c: any, d: any, e: any, f: any, g: any, h: any, i: any, j: any, k: any, l: any, m: any, n: any, o: any, x: infer X, ...z: any[]) => any) ? X : never;
17declare type Argument16<T> = T extends ((a: any, b: any, c: any, d: any, e: any, f: any, g: any, h: any, i: any, j: any, k: any, l: any, m: any, n: any, o: any, p: any, x: infer X, ...z: any[]) => any) ? X : never;
18declare type Argument17<T> = T extends ((a: any, b: any, c: any, d: any, e: any, f: any, g: any, h: any, i: any, j: any, k: any, l: any, m: any, n: any, o: any, p: any, q: any, x: infer X, ...z: any[]) => any) ? X : never;
19export declare namespace description {
20 interface commands {
21 dispatch(cmd: '$init', ...args: []): ReturnType<typeof import('./commands/$init').default>;
22 dispatch(cmd: 'asset', ...args: [Argument1<typeof import('./commands/asset').default>, Argument2<typeof import('./commands/asset').default>]): ReturnType<typeof import('./commands/asset').default>;
23 dispatch(cmd: 'compile', ...args: [Argument0<typeof import('./commands/compile').default>, Argument2<typeof import('./commands/compile').default>, Argument3<typeof import('./commands/compile').default>, Argument4<typeof import('./commands/compile').default>, Argument5<typeof import('./commands/compile').default>, Argument6<typeof import('./commands/compile').default>, Argument7<typeof import('./commands/compile').default>, Argument8<typeof import('./commands/compile').default>, Argument9<typeof import('./commands/compile').default>, Argument10<typeof import('./commands/compile').default>, Argument11<typeof import('./commands/compile').default>, Argument12<typeof import('./commands/compile').default>, Argument13<typeof import('./commands/compile').default>, Argument14<typeof import('./commands/compile').default>, Argument15<typeof import('./commands/compile').default>, Argument16<typeof import('./commands/compile').default>, Argument17<typeof import('./commands/compile').default>]): ReturnType<typeof import('./commands/compile').default>;
24 dispatch(cmd: 'mode', ...args: [Argument0<typeof import('./commands/mode').default>]): ReturnType<typeof import('./commands/mode').default>;
25 dispatch(cmd: 'remote-route', ...args: [Argument0<typeof import('./commands/remote-route').default>, Argument1<typeof import('./commands/remote-route').default>, Argument2<typeof import('./commands/remote-route').default>]): ReturnType<typeof import('./commands/remote-route').default>;
26 dispatch(cmd: 'remove-asset', ...args: [Argument0<typeof import('./commands/remove-asset').default>, Argument1<typeof import('./commands/remove-asset').default>]): ReturnType<typeof import('./commands/remove-asset').default>;
27 dispatch(cmd: 'require', ...args: [Argument1<typeof import('./commands/require').default>, Argument2<typeof import('./commands/require').default>]): ReturnType<typeof import('./commands/require').default>;
28 dispatch(cmd: 'route', ...args: [Argument0<typeof import('./commands/route').default>, Argument1<typeof import('./commands/route').default>, Argument2<typeof import('./commands/route').default>, Argument3<typeof import('./commands/route').default>]): ReturnType<typeof import('./commands/route').default>;
29 dispatch(cmd: 'webpack-alias', ...args: [Argument0<typeof import('./commands/webpack-alias').default>, Argument1<typeof import('./commands/webpack-alias').default>]): ReturnType<typeof import('./commands/webpack-alias').default>;
30 dispatch(cmd: 'webpack-html', ...args: [Argument0<typeof import('./commands/webpack-html').default>]): ReturnType<typeof import('./commands/webpack-html').default>;
31 dispatch(cmd: 'webpack', ...args: [Argument0<typeof import('./commands/webpack').default>, Argument1<typeof import('./commands/webpack').default>, Argument2<typeof import('./commands/webpack').default>]): ReturnType<typeof import('./commands/webpack').default>;
32 }
33}
34export {};