added back ts generics

This commit is contained in:
2016-09-24 16:52:38 +02:00
parent 83108ce02d
commit b0dbb9b8a0
7 changed files with 55 additions and 44 deletions

View File

@@ -13,7 +13,7 @@ export declare class Npmextra {
/**
* merges the supplied options with the ones from npmextra.json
*/
dataFor(toolnameArg: string, defaultOptionsArg: any): any;
dataFor<IToolConfig>(toolnameArg: string, defaultOptionsArg: any): IToolConfig;
/**
* checks if the JSON exists
*/