Update to TypeScript 4.3 (#10959)
* Update links * Update changelog_unreleased/typescript/10945.md Co-authored-by: fisker Cheung <lionkay@gmail.com> * Install TS 4.3.2 Co-authored-by: fisker Cheung <lionkay@gmail.com>
This commit is contained in:
1 parent
84f72be9dc
commit
9d53f64d85
3 files changed
+8
-8
No files matched your search
@@ -1,6 +1,6 @@
|
||||
#### Support TypeScript 4.3 (#10945 by @sosukesuzuki)
|
||||
|
||||
##### [`override` modifiers in class elements](https://devblogs.microsoft.com/typescript/announcing-typescript-4-3-rc/#override-and-the-noimplicitoverride-flag)
|
||||
##### [`override` modifiers in class elements](https://devblogs.microsoft.com/typescript/announcing-typescript-4-3/#override)
|
||||
|
||||
```ts
|
||||
class Foo extends {
|
||||
@@ -8,7 +8,7 @@ class Foo extends {
|
||||
}
|
||||
```
|
||||
|
||||
##### [static index signatures (`[key: KeyType]: ValueType`) in classes](https://devblogs.microsoft.com/typescript/announcing-typescript-4-3-rc/#static-index-signatures)
|
||||
##### [static index signatures (`[key: KeyType]: ValueType`) in classes](https://devblogs.microsoft.com/typescript/announcing-typescript-4-3/#static-index-signatures)
|
||||
|
||||
```ts
|
||||
class Foo {
|
||||
@@ -16,7 +16,7 @@ class Foo {
|
||||
}
|
||||
```
|
||||
|
||||
##### [`get` / `set` in type declarations](https://devblogs.microsoft.com/typescript/announcing-typescript-4-3-rc/#separate-write-types-on-properties)
|
||||
##### [`get` / `set` in type declarations](https://devblogs.microsoft.com/typescript/announcing-typescript-4-3/#separate-write-types)
|
||||
|
||||
```ts
|
||||
interface Foo {
|
||||
|
||||
+1
-1
@@ -79,7 +79,7 @@
|
||||
"semver": "7.3.5",
|
||||
"string-width": "4.2.2",
|
||||
"strip-ansi": "6.0.0",
|
||||
"typescript": "4.3.1-rc",
|
||||
"typescript": "4.3.2",
|
||||
"unicode-regex": "3.0.0",
|
||||
"unified": "9.2.1",
|
||||
"vnopts": "1.0.2",
|
||||
|
||||
@@ -6986,10 +6986,10 @@ typedarray-to-buffer@^3.1.5:
|
||||
dependencies:
|
||||
is-typedarray "^1.0.0"
|
||||
|
||||
typescript@4.3.1-rc:
|
||||
version "4.3.1-rc"
|
||||
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.3.1-rc.tgz#925149c8d8514e20a6bd8d4bd7f42adac67ab59c"
|
||||
integrity sha512-L3uJ0gcntaRaKni9aV2amYB+pCDVodKe/B5+IREyvtKGsDOF7cYjchHb/B894skqkgD52ykRuWatIZMqEsHIqA==
|
||||
typescript@4.3.2:
|
||||
version "4.3.2"
|
||||
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.3.2.tgz#399ab18aac45802d6f2498de5054fcbbe716a805"
|
||||
integrity sha512-zZ4hShnmnoVnAHpVHWpTcxdv7dWP60S2FsydQLV8V5PbS3FifjWFFRiHSWpDJahly88PRyV5teTSLoq4eG7mKw==
|
||||
|
||||
unherit@^1.0.4:
|
||||
version "1.1.3"
|
||||
|
||||
Reference in new issue
Block a user