npmextra/dist/index.d.ts

17 lines
370 B
TypeScript
Raw Normal View History

2016-07-17 14:34:31 +00:00
export interface IDataFor {
toolName: string;
defaultSettings?: any;
cwd?: string;
}
2016-09-16 20:28:38 +00:00
/**
* gets you the configuration data for
* @executes SYNC
*/
export declare let dataFor: <IOptions>(optionsArg: IDataFor) => IOptions;
/**
* tells you if a configfile is present
*/
export declare let configFilePresent: (optionsArg: {
cwd?: string;
}) => boolean;