From e3882dcab88e258736e2e36fc4e61ef7d92d0429 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Morch=C3=B3n=20Poveda?= Date: Mon, 23 Feb 2015 12:47:24 +0100 Subject: [PATCH] Update gruntjs.d.ts From http://gruntjs.com/api/grunt.task#grunt.task.exists --- gruntjs/gruntjs.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gruntjs/gruntjs.d.ts b/gruntjs/gruntjs.d.ts index 7de19d016c..ff672d3688 100644 --- a/gruntjs/gruntjs.d.ts +++ b/gruntjs/gruntjs.d.ts @@ -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; } /**