Skip to content

Commit

Permalink
fix(typescript): support typescript 5.0 (#1566)
Browse files Browse the repository at this point in the history
* fix(typescript): support typescript 5.0

broaden typescript support to include 5.0

* chore(typescript): build with 5.0.2

* chore(typescript): add type config
  • Loading branch information
mattcosta7 committed Mar 20, 2023
1 parent 12011d7 commit c0616d1
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 37 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ts: ['4.4', '4.5', '4.6', '4.7', '4.8', '4.9']
ts: ['4.4', '4.5', '4.6', '4.7', '4.8', '4.9', '5.0']
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -151,14 +151,14 @@
"statuses": "^2.0.0",
"ts-node": "^10.9.1",
"tsup": "^5.12.8",
"typescript": "^4.9.3",
"typescript": "^5.0.2",
"url-loader": "^4.1.1",
"webpack": "^5.68.0",
"webpack-dev-server": "^3.11.2",
"webpack-http-server": "^0.5.0"
},
"peerDependencies": {
"typescript": ">= 4.4.x <= 4.9.x"
"typescript": ">= 4.4.x <= 5.0.x"
},
"peerDependenciesMeta": {
"typescript": {
Expand Down
74 changes: 40 additions & 34 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions test/typings/tsconfig.5.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "./tsconfig.4.7.json"
}

0 comments on commit c0616d1

Please sign in to comment.