From e89fb61614203a22907f087cc889d57104486469 Mon Sep 17 00:00:00 2001 From: Basarat Syed Date: Fri, 6 Dec 2013 13:44:47 +1100 Subject: [PATCH] fix gruntjs defs --- gruntjs/gruntjs.d.ts | 25 ++++++------------------- 1 file changed, 6 insertions(+), 19 deletions(-) diff --git a/gruntjs/gruntjs.d.ts b/gruntjs/gruntjs.d.ts index be08cb237..e67618910 100644 --- a/gruntjs/gruntjs.d.ts +++ b/gruntjs/gruntjs.d.ts @@ -1,6 +1,6 @@ // Type definitions for Grunt 0.4.x // Project: http://gruntjs.com -// Definitions by: Jeff May +// Definitions by: Jeff May , Basarat Ali Syed // Definitions: https://github.com/jeffmay/DefinitelyTyped /// @@ -117,27 +117,14 @@ declare module minimatch { declare module grunt { module config { - + /** * {@link http://gruntjs.com/sample-gruntfile} */ - interface IProjectConfig extends IConfigOptionFormat { - pkg: string - } - - /** - * @see IProjectConfig - */ - interface IConfigOptionFormat { - [plugin: string]: IConfigPluginFormat - } - - /** - * A map of plugin task names to config objects. - */ - interface IConfigPluginFormat { - [task: string]: grunt.task.ITaskOptions - } + interface IProjectConfig{ + [plugin: string]: any + pkg: any; // unfortunate. It is actually a string + } /** * {@link http://gruntjs.com/api/grunt.config}