mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-07 22:38:13 +08:00
Update gruntjs.d.ts
From http://gruntjs.com/api/grunt.task#grunt.task.exists
This commit is contained in:
6
gruntjs/gruntjs.d.ts
vendored
6
gruntjs/gruntjs.d.ts
vendored
@@ -790,6 +790,12 @@ declare module grunt {
|
||||
*/
|
||||
registerMultiTask(taskName: string, taskFunction: Function): void
|
||||
registerMultiTask(taskName: string, taskDescription: string, taskFunction: Function): void
|
||||
|
||||
/**
|
||||
* Check with the name, if a task exists in the registered tasks.
|
||||
* @since 0.4.5
|
||||
*/
|
||||
exists(name: string): boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user