8000 Support Typescript 3 (#1593) · retyui/immutable-js@73a9886 · GitHub
[go: up one dir, main page]

Skip to content

Commit 73a9886

Browse files
authored
Support Typescript 3 (immutable-js#1593)
Fixes immutable-js#1577 Fixes immutable-js#1539
1 parent 687a07e commit 73a9886

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
"through2": "2.0.3",
102102
"transducers-js": "^0.4.174",
103103
"tslint": "5.7.0",
104-
"typescript": "2.5.3",
104+
"typescript": "3.0.3",
105105
"uglify-js": "2.8.11",
106106
"uglify-save-license": "0.4.1",
107107
"vinyl-buffer": "1.0.1",

type-definitions/Immutable.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2440,7 +2440,7 @@ declare module Immutable {
24402440

24412441
// Reading values
24422442

2443-
has(key: string): key is keyof TProps;
2443+
has(key: string): key is keyof TProps & string;
24442444

24452445
/**
24462446
* Returns the value associated with the provided key, which may be the

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7050,9 +7050,9 @@ typedarray@^0.0.6, typedarray@~0.0.5:
70507050
version "0.0.6"
70517051
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
70527052

7053-
typescript@2.5.3:
7054-
version "2.5.3"
7055-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.5.3.tgz#df3dcdc38f3beb800d4bc322646b04a3f6ca7f0d"
7053+
typescript@3.0.3:
7054+
version "3.0.3"
7055+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.0.3.tgz#4853b3e275ecdaa27f78fda46dc273a7eb7fc1c8"
70567056

70577057
ua-parser-js@0.7.17:
70587058
version "0.7.17"

0 commit comments

Comments
 (0)
0