Skip to content
This repository was archived by the owner on Nov 28, 2025. It is now read-only.

Commit 9d3573e

Browse files
committed
chore: use @types instead of deprecated typings
1 parent 9a76b04 commit 9d3573e

File tree

3 files changed

+19
-10
lines changed

3 files changed

+19
-10
lines changed

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"scripts": {
66
"lint": "tslint ./*.ts -t verbose",
77
"build": "rimraf dist && tsc",
8-
"postinstall": "typings install",
98
"test": "echo \"Error: no test specified\" && exit 1"
109
},
1110
"repository": {
@@ -30,11 +29,13 @@
3029
},
3130
"devDependencies": {
3231
"@angular/core": "^2.0.0",
33-
"@types/core-js": "^0.9.34",
32+
"@types/node": "^7.0.0",
33+
"core-js": "^2.4.1",
34+
"es6-shim": "^0.35.3",
3435
"rimraf": "^2.5.4",
3536
"rxjs": "^5.0.0-beta.12",
3637
"tslint": "^3.15.1",
37-
"typings": "^1.3.3",
38+
"typescript": "^2.2.1",
3839
"zone.js": "^0.7.2"
3940
}
4041
}

tsconfig.json

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,24 @@
88
"experimentalDecorators": true,
99
"inlineSources": true,
1010
"outDir": "dist",
11-
"declaration": true
11+
"declaration": true,
12+
"lib": [
13+
"dom",
14+
"es6"
15+
],
16+
"typeRoots": [
17+
"node_modules/@types"
18+
],
19+
"types": [
20+
"node"
21+
]
1222
},
23+
"include": [
24+
"src/**/*"
25+
],
1326
"exclude": [
1427
"node_modules",
1528
"index.d.ts",
1629
"dist"
1730
]
18-
}
31+
}

typings.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)