mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
made option config argument optional
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@ declare module yo {
|
||||
determineAppname(): void;
|
||||
getCollisionFilter(): (output: any) => void;
|
||||
hookFor(name: string, config: IHookConfig): void;
|
||||
option(name: string, config: IYeomanGeneratorOption): void;
|
||||
option(name: string, config?: IYeomanGeneratorOption): void;
|
||||
rootGeneratorName(): string;
|
||||
run(args?: any): void;
|
||||
run(args: any, callback?: Function): void;
|
||||
|
||||
Reference in New Issue
Block a user