From 9cb096f5de68d76b1faecde6f233b193f0736b6a Mon Sep 17 00:00:00 2001 From: Tim Schubert Date: Thu, 3 Dec 2015 11:00:59 +1100 Subject: [PATCH] ISpawnOptions.cmd is optional These options are perfectly valid but will cause a ts build to fail: grunt.util.spawn({grunt: true, args: ['"mytask"]}); --- gruntjs/gruntjs.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gruntjs/gruntjs.d.ts b/gruntjs/gruntjs.d.ts index e503cb572..a3a3a67e5 100644 --- a/gruntjs/gruntjs.d.ts +++ b/gruntjs/gruntjs.d.ts @@ -1172,7 +1172,7 @@ declare module grunt { /** * The command to execute. It should be in the system path. */ - cmd: string + cmd?: string /** * If specified, the same grunt bin that is currently running will be