diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3f0550a1..3da328b7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -99,8 +99,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? diff --git a/package.json b/package.json index 8acb765f..a09d661d 100644 --- a/package.json +++ b/package.json @@ -73,8 +73,8 @@ "test:types": "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" }, "devDependencies": { "@arethetypeswrong/cli": "^0.18.3", @@ -94,7 +94,7 @@ "mocha": "^11.7.5", "prettier": "3.9.4", "semver": "^7.7.3", - "typescript": "^6.0.3", + "typescript": "^7.0.2", "yorkie": "^2.0.0" }, "dependencies": {