Skip to content

Commit

Permalink
Support TypeScript 5 (backport prettier#14391 and prettier#13819) (pr…
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker authored and medikoo committed Jan 4, 2024
1 parent 5e0b26e commit 80f49e2
Show file tree
Hide file tree
Showing 40 changed files with 1,066 additions and 676 deletions.
6 changes: 6 additions & 0 deletions changelog_unreleased/typescript/14391.md
@@ -0,0 +1,6 @@
#### Support TypeScript 5.0 (#14391 by @fisker, #13819 by @fisker, @sosukesuzuki)

TypeScript 5.0 introduces two new syntactic features:

- `const` modifiers for type parameters
- `export type *` declarations
1 change: 1 addition & 0 deletions cspell.json
Expand Up @@ -339,6 +339,7 @@
"Tradeshift",
"Transloadit",
"trippable",
"tsbuild",
"tsep",
"TSES",
"TSJS",
Expand Down
10 changes: 5 additions & 5 deletions package.json
Expand Up @@ -24,10 +24,10 @@
"dependencies": {
"@angular/compiler": "12.2.16",
"@babel/code-frame": "7.18.6",
"@babel/parser": "7.20.7",
"@babel/parser": "7.21.3",
"@glimmer/syntax": "0.84.2",
"@iarna/toml": "2.2.5",
"@typescript-eslint/typescript-estree": "5.45.0",
"@typescript-eslint/typescript-estree": "5.55.0",
"acorn": "8.8.1",
"acorn-jsx": "5.3.2",
"angular-estree-parser": "2.5.1",
Expand Down Expand Up @@ -85,15 +85,15 @@
"semver": "7.3.7",
"string-width": "5.0.1",
"strip-ansi": "7.0.1",
"typescript": "4.9.3",
"typescript": "5.0.2",
"unicode-regex": "3.0.0",
"unified": "9.2.1",
"vnopts": "1.0.2",
"wcwidth": "1.0.1",
"yaml-unist-parser": "1.3.1"
},
"devDependencies": {
"@babel/core": "7.20.7",
"@babel/core": "7.21.3",
"@babel/preset-env": "7.20.2",
"@babel/types": "7.20.7",
"@esbuild-plugins/node-modules-polyfill": "0.1.4",
Expand All @@ -102,7 +102,7 @@
"@types/file-entry-cache": "5.0.2",
"@types/find-cache-dir": "3.2.1",
"@types/jest": "27.4.1",
"@typescript-eslint/eslint-plugin": "5.36.2",
"@typescript-eslint/eslint-plugin": "5.55.0",
"babel-jest": "27.5.1",
"benchmark": "2.1.4",
"browserslist-to-esbuild": "1.2.0",
Expand Down

0 comments on commit 80f49e2

Please sign in to comment.