Skip to content

Commit 10938ed

Browse files
devversionjelbourn
authored andcommitted
chore: update typings dependency. (#506)
* Typings recently released the 1.0 version, which contained some breaking changes. The new typings versions >= 1.0 are no longer supporting the `ambient` name. (It's now `global`) Official details / information can be found here - https://github.com/typings/typings#updating-from-0x-to-10
1 parent 388f55c commit 10938ed

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"ts-node": "^0.7.3",
6767
"tslint": "^3.5.0",
6868
"typescript": "^1.9.0-dev",
69-
"typings": "^0.8.1",
69+
"typings": "^1.0.4",
7070
"which": "^1.2.4"
7171
}
7272
}

src/demo-app/typings.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
/// <reference path="../../typings/browser.d.ts" />
1+
/// <reference path="../../typings/index.d.ts" />
22

33
declare var module: { id: string };

src/e2e-app/typings.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/// <reference path="../../typings/browser.d.ts" />
1+
/// <reference path="../../typings/index.d.ts" />
22

33
declare var module: { id: string };
44

typings.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22
"name": "material2",
33
"dependencies": {},
44
"devDependencies": {},
5-
"ambientDevDependencies": {
6-
"jasmine": "github:DefinitelyTyped/DefinitelyTyped/jasmine/jasmine.d.ts#26c98c8a9530c44f8c801ccc3b2057e2101187ee"
5+
"globalDevDependencies": {
6+
"jasmine": "registry:dt/jasmine#2.2.0+20160505161446"
77
},
8-
"ambientDependencies": {
8+
"globalDependencies": {
99
"core-js": "registry:dt/core-js#0.0.0+20160317120654",
10-
"hammerjs": "github:DefinitelyTyped/DefinitelyTyped/hammerjs/hammerjs.d.ts#de8e80dfe5360fef44d00c41257d5ef37add000a"
10+
"es6-shim": "registry:dt/es6-shim#0.31.2+20160317120654",
11+
"hammerjs": "registry:dt/hammerjs#2.0.4+20160417130828"
1112
}
1213
}

0 commit comments

Comments
 (0)