From 1da80bb157010c3586dd2dd33f463f70ab0bbd28 Mon Sep 17 00:00:00 2001 From: rodrigo Date: Fri, 5 Jan 2024 08:51:33 -0300 Subject: [PATCH] fix: support typescript@5.3 (#1874) Co-authored-by: Matthew Costabile Co-authored-by: Artem Zakharchenko --- .github/workflows/compat.yml | 2 +- package.json | 2 +- test/typings/tsconfig.5.3.json | 7 +++++++ 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 test/typings/tsconfig.5.3.json diff --git a/.github/workflows/compat.yml b/.github/workflows/compat.yml index f515aa0d2..0435a5fa0 100644 --- a/.github/workflows/compat.yml +++ b/.github/workflows/compat.yml @@ -49,7 +49,7 @@ jobs: strategy: fail-fast: false matrix: - ts: ['4.7', '4.8', '4.9', '5.0', '5.1', '5.2'] + ts: ['4.7', '4.8', '4.9', '5.0', '5.1', '5.2', '5.3'] steps: - name: Checkout uses: actions/checkout@v3 diff --git a/package.json b/package.json index c5c14e319..edc4a6a51 100644 --- a/package.json +++ b/package.json @@ -187,7 +187,7 @@ "webpack-http-server": "^0.5.0" }, "peerDependencies": { - "typescript": ">= 4.7.x <= 5.2.x" + "typescript": ">= 4.7.x <= 5.3.x" }, "peerDependenciesMeta": { "typescript": { diff --git a/test/typings/tsconfig.5.3.json b/test/typings/tsconfig.5.3.json new file mode 100644 index 000000000..3b50d245f --- /dev/null +++ b/test/typings/tsconfig.5.3.json @@ -0,0 +1,7 @@ +{ + "extends": "./tsconfig.4.7.json", + "compilerOptions": { + "module": "NodeNext", + "moduleResolution": "NodeNext" + } +}