You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

21 lines
402 B

// 全局替换
declare var __DEV__: boolean;
interface IItem{
name: string; // 模板名称
desc: string; // 具体干什么用的
url: string; //Git仓库地址
}
type IOpts = {
list?: [
IItem
]
}
declare module "download-git-repo"{
type download = (url: string, path: string, config: {clone: boolean}, cb: (err:Error)=>void)=>void
const func: download;
export default func;
}