-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
3850 - update TS to version with new Set methods; remove copied types…
… for it
- Loading branch information
1 parent
f5d6863
commit 46df92b
Showing
3 changed files
with
8 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1 @@ | ||
declare const __DEV__: boolean | ||
|
||
// This code is a copy from TS PR#57230 | ||
// Should be removed after it merged | ||
interface ReadonlySetLike<T> { | ||
/** | ||
* Despite its name, returns an iterable of the values in the set-like. | ||
*/ | ||
keys(): Iterator<T> | ||
/** | ||
* @returns a boolean indicating whether an element with the specified value exists in the set-like or not. | ||
*/ | ||
has(value: T): boolean | ||
/** | ||
* @returns the number of (unique) elements in the set-like. | ||
*/ | ||
readonly size: number | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -250,7 +250,7 @@ | |
resolved "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz" | ||
integrity sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw== | ||
|
||
"@babel/helper-validator-identifier@^7.15.7", "@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.19.1", "@babel/helper-validator-identifier@^7.22.20": | ||
"@babel/helper-validator-identifier@^7.15.7", "@babel/helper-validator-identifier@^7.19.1", "@babel/helper-validator-identifier@^7.22.20": | ||
version "7.22.20" | ||
resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz#c4ae002c61d2879e724581d96665583dbc1dc0e0" | ||
integrity sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A== | ||
|
@@ -4582,7 +4582,7 @@ chalk@^1.1.3: | |
strip-ansi "^3.0.0" | ||
supports-color "^2.0.0" | ||
|
||
chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.1, chalk@^2.4.1, chalk@^2.4.2: | ||
chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.1, chalk@^2.4.1, chalk@^2.4.2: | ||
version "2.4.2" | ||
resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz" | ||
integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== | ||
|
@@ -13063,16 +13063,16 @@ typedarray@^0.0.6: | |
resolved "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz" | ||
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= | ||
|
||
[email protected]: | ||
version "5.5.0-dev.20240517" | ||
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.5.0-dev.20240517.tgz#3f21caef963af4257ba6f2c71caec539f72f7883" | ||
integrity sha512-xpneJT+1seecSblhCb/6RarVhdJzwhEWl0iY26aJxOvtHUiI2tFOajGJALNTy++pwG69iEOeQAR9ax7cKwT9IQ== | ||
|
||
typescript@^3.7.3, typescript@^5.0.2: | ||
version "5.4.5" | ||
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.5.tgz#42ccef2c571fdbd0f6718b1d1f5e6e5ef006f611" | ||
integrity sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ== | ||
|
||
typescript@^5.5.0-dev.20240415: | ||
version "5.5.0-dev.20240415" | ||
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.5.0-dev.20240415.tgz#7f80d7b0bd18f0dddf4aeafb5157aca5543d4471" | ||
integrity sha512-2FlWR0afPLL3qaO+AcMp6rWmV6nrLoRhwDYAgGn7/Kw1/K8hcW83bZnn+gzGNWfXozx/EdJuG0KfN7V/RGysjg== | ||
|
||
uglify-js@^3.1.4: | ||
version "3.14.5" | ||
resolved "https://registry.npmjs.org/uglify-js/-/uglify-js-3.14.5.tgz" | ||
|