Skip to content

Commit

Permalink
Fix for lodash and core-js typings, #92, DefinitelyTyped/DefinitelyTy…
Browse files Browse the repository at this point in the history
  • Loading branch information
erikbarke committed Mar 29, 2017
1 parent 6c558df commit 7367bd9
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 7 deletions.
3 changes: 3 additions & 0 deletions examples/angular2/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ module.exports = function(config) {
require("karma-typescript-angular2-transform")
]
},
compilerOptions: {
lib: ["ES2015", "DOM"]
},
coverageOptions: {
instrumentation: true
}
Expand Down
2 changes: 1 addition & 1 deletion examples/angular2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@angular/core": "2.2.3",
"@angular/platform-browser": "2.2.3",
"@angular/platform-browser-dynamic": "2.2.3",
"@types/core-js": "0.9.36",
"@types/core-js": "^0.9.39",
"@types/jasmine": "^2.5.37",
"@types/node": "^6.0.51",
"core-js": "^2.4.1",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
"@types/glob": "^5.0.30",
"@types/istanbul": "^0.4.29",
"@types/karma": "^0.13.33",
"@types/lodash": "^4.14.52",
"@types/lodash": "^4.14.59",
"@types/minimatch": "^2.0.29",
"@types/node": "^7.0.5",
"@types/pad": "^1.0.0",
Expand Down
3 changes: 2 additions & 1 deletion tests/integration-latest/karma.conf.angular2.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ module.exports = function(config) {
experimentalDecorators: true,
module: "commonjs",
sourceMap: true,
target: "ES5"
target: "ES5",
lib: ["DOM", "ES2015"]
},
include: ["src/frameworks/angular2/**/*.ts"],
reports:
Expand Down
3 changes: 2 additions & 1 deletion tests/integration-latest/karma.conf.core.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ module.exports = function(config) {
experimentalDecorators: true,
module: "commonjs",
sourceMap: true,
target: "ES5"
target: "ES5",
lib: ["DOM", "ES2015"]
},
include: ["src/node/core/*.ts"],
reports:
Expand Down
3 changes: 3 additions & 0 deletions tests/integration-latest/karma.conf.emptyfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ module.exports = function(config) {
include: ["src/misc/emptyfile/*.ts"],
bundlerOptions: {
nodeGlobals: false
},
compilerOptions: {
lib: ["DOM", "ES2015"]
}
},

Expand Down
2 changes: 1 addition & 1 deletion tests/integration-latest/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ module.exports = function(config) {
moduleResolution: "node",
sourceMap: true,
target: "ES5",
lib: ["DOM", "ES5", "ScriptHost"]
lib: ["DOM", "ES2015"]
},
coverageOptions: {
instrumentation: true,
Expand Down
3 changes: 2 additions & 1 deletion tests/integration-latest/karma.conf.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ module.exports = function(config) {
jsx: "react",
module: "commonjs",
sourceMap: true,
target: "ES5"
target: "ES5",
lib: ["DOM", "ES2015"]
},
include: ["src/frameworks/react/**/*.tsx"],
reports:
Expand Down
2 changes: 1 addition & 1 deletion tests/integration-latest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@types/chai": "^3.4.34",
"@types/chai-enzyme": "^0.5.6",
"@types/codemirror": "0.0.35",
"@types/core-js": "0.9.36",
"@types/core-js": "^0.9.39",
"@types/enzyme": "^2.7.2",
"@types/jasmine": "^2.5.37",
"@types/lodash-es": "^4.14.4",
Expand Down

0 comments on commit 7367bd9

Please sign in to comment.