Skip to content

Commit feaedf9

Browse files
committed
Fixed breaking changes on typings release 1.0.0+.
1 parent 63d6e7b commit feaedf9

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"precompile": "typings install",
2020
"compile": "npm run compile:bundle && npm run compile:cjs && npm run compile:es6",
2121
"compile:bundle": "tsc",
22-
"compile:cjs": "tsc -t ES5 --sourceMap --experimentalDecorators --emitDecoratorMetadata --moduleResolution node --declaration core.ts typings/browser",
22+
"compile:cjs": "tsc -t ES5 --sourceMap --experimentalDecorators --emitDecoratorMetadata --moduleResolution node --declaration core.ts typings/index",
2323
"compile:es6": "tsc -t ES6 --sourceMap --experimentalDecorators --emitDecoratorMetadata --moduleResolution node core.ts --outDir dist/es6",
2424
"pretest": "npm run lint",
2525
"test": "echo tests pending...",

tsconfig.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,10 @@
1717
"core",
1818
"app/core/level",
1919
"app/core/logger",
20-
"typings/browser"
20+
"typings/index"
2121
],
2222
"exclude": [
2323
"node_modules",
24-
"typings/main",
25-
"typings/main.d.ts"
24+
"typings/globals"
2625
]
2726
}

typings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"ambientDevDependencies": {
2+
"globalDevDependencies": {
33
"es6-shim": "github:DefinitelyTyped/DefinitelyTyped/es6-shim/es6-shim.d.ts#4de74cb527395c13ba20b438c3a7a419ad931f1c",
44
"jasmine": "github:DefinitelyTyped/DefinitelyTyped/jasmine/jasmine.d.ts#d594ef506d1efe2fea15f8f39099d19b39436b71"
55
}

0 commit comments

Comments
 (0)