UNPKG

@types/init-package-json

Version:
24 lines (19 loc) 482 B
declare namespace init_package_json { interface Config { [key: string]: any; get(k: string): any; } function yes(conf: Config): boolean; } declare function init_package_json( dir: string, input: string, config: init_package_json.Config | {}, cb: (err: any, data: any) => void, ): void; declare function init_package_json( dir: string, input: string, cb: (err: any, data: any) => void, ): void; export = init_package_json;