added return types on methods

This commit is contained in:
Poul Kjeldager Sørensen
2015-10-27 03:14:03 +01:00
parent 9ce874b712
commit 13a9213fe5
+3 -3
View File
@@ -47,9 +47,9 @@ declare module yo {
emit(event: string, ...args: any[]): boolean;
async(): any;
prompt(opt?:IPromptOptions, callback?:(answers:any)=>void);
log(message: string);
npmInstall(packages: string[], options?);
prompt(opt?:IPromptOptions, callback?:(answers:any)=>void) :void;
log(message: string) : void;
npmInstall(packages: string[], options?) :void;
appname: string;
gruntfile: IGruntFileStatic;