Skip to content

Commit 12cfe15

Browse files
authored
TypeScript@6.0.2 (#4015)
1 parent 301ace7 commit 12cfe15

7 files changed

Lines changed: 12 additions & 12 deletions

File tree

eslint.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,7 @@ copy(
884884
1,
885885
{ path: 'never', types: 'never', lib: 'never' }
886886
],
887-
'@typescript-eslint/unbound-method': 0,
887+
'@typescript-eslint/unbound-method': 0, // replaced by vitest/unbound-method
888888
'@typescript-eslint/unified-signatures': 0,
889889
'@typescript-eslint/use-unknown-in-catch-callback-variable': 1
890890
}
@@ -1013,6 +1013,7 @@ copy(
10131013
'vitest/require-test-timeout': 0,
10141014
'vitest/require-to-throw-message': 1,
10151015
'vitest/require-top-level-describe': 0,
1016+
'vitest/unbound-method': 0,
10161017
'vitest/valid-describe-callback': 1,
10171018
'vitest/valid-expect': [1, { alwaysAwait: true }],
10181019
'vitest/valid-expect-in-promise': 1,

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@
5757
"@types/react": "^19.2.14",
5858
"@types/react-dom": "^19.2.3",
5959
"@vitejs/plugin-react": "^6.0.1",
60-
"@vitest/browser-playwright": "^4.1.0",
61-
"@vitest/coverage-istanbul": "^4.1.0",
62-
"@vitest/eslint-plugin": "^1.6.12",
60+
"@vitest/browser-playwright": "^4.1.2",
61+
"@vitest/coverage-istanbul": "^4.1.2",
62+
"@vitest/eslint-plugin": "^1.6.13",
6363
"clsx": "^2.1.1",
6464
"ecij": "^0.4.1",
6565
"eslint": "^10.0.3",
@@ -75,10 +75,10 @@
7575
"react": "^19.2.4",
7676
"react-dom": "^19.2.4",
7777
"tsdown": "^0.21.7",
78-
"typescript": "~6.0.1-rc",
78+
"typescript": "~6.0.2",
7979
"typescript-eslint": "^8.57.0",
80-
"vite": "^8.0.0",
81-
"vitest": "^4.1.0",
80+
"vite": "^8.0.3",
81+
"vitest": "^4.1.2",
8282
"vitest-browser-react": "^2.1.0"
8383
},
8484
"peerDependencies": {

src/globals.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ declare module 'react' {
55
}
66
}
77

8-
// somehow required to make types work
8+
// required to make types work
99
export {};

test/globals.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ declare module 'vitest/browser' {
1313
}
1414
}
1515

16-
// somehow required to make types work
16+
// required to make types work
1717
export {};

tsconfig.base.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"noImplicitReturns": true,
1313
"noUnusedLocals": true,
1414
"outDir": "./.cache/ts",
15-
"strictNullChecks": true, // TODO: remove once `typescript-eslint` supports TS 6
1615
"target": "esnext",
1716
"verbatimModuleSyntax": true
1817
}

tsconfig.test.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
"skipLibCheck": true,
66
"types": ["vitest/globals"]
77
},
8-
"include": ["test/**/*"],
8+
"include": ["src/css.d.ts", "test/**/*"],
99
"references": [{ "path": "tsconfig.src.json" }]
1010
}

website/router.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const router = createRouter({
1515
});
1616

1717
// Register the router instance for type safety
18-
declare module '@tanstack/react-router' {
18+
declare module '@tanstack/router-core' {
1919
interface Register {
2020
router: typeof router;
2121
}

0 commit comments

Comments
 (0)