Merge pull request #6380 from SomaticIT/fix-gruntjs

Fix gruntjs typings: Add grunt.config.merge method
This commit is contained in:
Basarat Ali Syed
2015-10-22 14:26:38 +11:00
+6
View File
@@ -192,6 +192,12 @@ declare module grunt {
*/
requires(prop: string, ...andProps: string[]): void
requires(prop: string[], ...andProps: string[][]): void
/**
* Recursively merges properties of the specified configObject into the current project configuration.
* You can use this method to append configuration options, targets, etc., to already defined tasks.
*/
merge<T>(configObject: T): void;
}
}