diff --git a/dist/mod02/index.js b/dist/mod02/index.js index 6a23e86..3ac2d40 100644 --- a/dist/mod02/index.js +++ b/dist/mod02/index.js @@ -29,7 +29,7 @@ let mocha = function (configArg) { target: 'ES5', emitDecoratorMetadata: true, experimentalDecorators: true, - lib: ['ES2015.Promise', 'ES5', 'ES2015.Generator', 'ES2015.Iterable'] + lib: ['DOM', 'ES5', 'ES2015.Promise', 'ES2015.Generator', 'ES2015.Iterable'] }), plugins.gulpIstanbul({}), plugins.gulpSourcemaps.write(), @@ -49,7 +49,7 @@ let mocha = function (configArg) { target: 'ES5', emitDecoratorMetadata: true, experimentalDecorators: true, - lib: ['ES2015.Promise', 'ES5', 'ES2015.Generator', 'ES2015.Iterable'] + lib: ['DOM', 'ES5', 'ES2015.Promise', 'ES2015.Generator', 'ES2015.Iterable'] }), plugins.gulpInjectModules(), plugins.gulpMocha(), diff --git a/ts/mod02/index.ts b/ts/mod02/index.ts index c522b98..793eed3 100644 --- a/ts/mod02/index.ts +++ b/ts/mod02/index.ts @@ -25,7 +25,7 @@ let mocha = function (configArg: INpmtsConfig) { target: 'ES5', emitDecoratorMetadata: true, experimentalDecorators: true, - lib: ['ES2015.Promise', 'ES5', 'ES2015.Generator', 'ES2015.Iterable'] + lib: ['DOM', 'ES5', 'ES2015.Promise', 'ES2015.Generator', 'ES2015.Iterable'] }), plugins.gulpIstanbul({ }), @@ -50,7 +50,7 @@ let mocha = function (configArg: INpmtsConfig) { target: 'ES5', emitDecoratorMetadata: true, experimentalDecorators: true, - lib: ['ES2015.Promise', 'ES5', 'ES2015.Generator', 'ES2015.Iterable'] + lib: ['DOM', 'ES5', 'ES2015.Promise', 'ES2015.Generator', 'ES2015.Iterable'] }), plugins.gulpInjectModules(), plugins.gulpMocha(),