UNPKG

356 BTypeScriptView Raw
1declare module '@weex-cli/generator' {
2 export interface Metadate {
3 [propName: string]: any
4 }
5 export interface CloneOption {
6 cache: boolean
7 }
8 export function generator(source: string, dest: string, metadata: Metadate): Promise<boolean>
9 export function clone(templateUrl: string, target?: string, option?: CloneOption): Promise<string>
10}
11
\No newline at end of file