diff --git a/tasks/ts.js b/tasks/ts.js index f57177a2..caad6b97 100644 --- a/tasks/ts.js +++ b/tasks/ts.js @@ -364,7 +364,7 @@ function pluginFn(grunt) { // assume that emitted JS in spite of error codes implies type-only errors. var isOnlyTypeErrors = !hasPreventEmitErrors; if (hasTS7017Error) { - grunt.log.writeln(('Note: You may wish to enable the suppressImplicitAnyIndexError' + ' grunt-ts option to allow dynamic property access by index. This will' + ' suppress TypeScript error TS7017.').magenta); + grunt.log.writeln(('Note: You may wish to enable the suppressImplicitAnyIndexErrors' + ' grunt-ts option to allow dynamic property access by index. This will' + ' suppress TypeScript error TS7017.').magenta); } // Log error summary if (level1ErrorCount + level5ErrorCount + nonEmitPreventingWarningCount > 0) { diff --git a/tasks/ts.ts b/tasks/ts.ts index 1c510f57..dba090ef 100644 --- a/tasks/ts.ts +++ b/tasks/ts.ts @@ -453,7 +453,7 @@ function pluginFn(grunt: IGrunt) { var isOnlyTypeErrors = !hasPreventEmitErrors; if (hasTS7017Error) { - grunt.log.writeln(('Note: You may wish to enable the suppressImplicitAnyIndexError' + + grunt.log.writeln(('Note: You may wish to enable the suppressImplicitAnyIndexErrors' + ' grunt-ts option to allow dynamic property access by index. This will' + ' suppress TypeScript error TS7017.').magenta); }