From 42d17f1810ecf703f1c9223e252adacb88882cf7 Mon Sep 17 00:00:00 2001 From: sethamus Date: Fri, 10 Jul 2026 19:33:56 +0300 Subject: [PATCH] chore: update TypeScript to v7 --- .github/workflows/ci.yml | 4 ++-- package.json | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index feeba5f2..92164861 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -76,8 +76,8 @@ jobs: run: npm run test:types:5.3 - name: Check Types (TypeScript 5.x) run: npm run test:types:5.x - - name: Check Types (TypeScript 7 preview) - run: npm run test:types:7.x + - name: Check Types (TypeScript 6.x) + run: npm run test:types:6.x are_the_types_wrong: name: Are the types wrong? runs-on: ubuntu-latest diff --git a/package.json b/package.json index 8dc97ffb..0168385e 100644 --- a/package.json +++ b/package.json @@ -60,8 +60,8 @@ "test:types": "npm run build && tsc -p tests/types/tsconfig.json", "test:types:5.3": "npx -p typescript@5.3 -y -- tsc -p tests/types/tsconfig.legacy.json", "test:types:5.x": "npx -p typescript@5.x -y -- tsc -p tests/types/tsconfig.json", - "test:types:7.x": "npx -p @typescript/native-preview@latest -y -- tsgo -p tests/types/tsconfig.json", - "test:types:all": "npm run test:types && npm run test:types:5.3 && npm run test:types:5.x && npm run test:types:7.x" + "test:types:6.x": "npx -p typescript@6.x -y -- tsc -p tests/types/tsconfig.json", + "test:types:all": "npm run test:types && npm run test:types:5.3 && npm run test:types:5.x && npm run test:types:6.x" }, "keywords": [ "eslint", @@ -93,7 +93,7 @@ "mocha": "^11.0.0", "prettier": "3.9.4", "tailwind-csstree": "^0.3.0", - "typescript": "^6.0.3", + "typescript": "^7.0.2", "web-features": "^3.32.0", "yorkie": "^2.0.0" },