File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6363 run : npm install
6464 - name : Check Types
6565 run : npm run test:types
66+ - name : Check Types (TypeScript 5.3)
67+ run : npm run test:types:5.3
68+ - name : Check Types (TypeScript 5.x)
69+ run : npm run test:types:5.x
6670 are_the_types_wrong :
6771 name : Are the types wrong?
6872 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -107,8 +107,9 @@ export default defineConfig([
107107 {
108108 name : "json/jsonc" ,
109109 plugins : { json } ,
110- files : [ "**/*.jsonc" ] ,
110+ files : [ "**/*.jsonc" , "**/tsconfig*.json" ] ,
111111 language : "json/jsonc" ,
112+ languageOptions : { allowTrailingCommas : true } ,
112113 extends : [ "json/recommended" ] ,
113114 } ,
114115 {
Original file line number Diff line number Diff line change 5656 "test" : " mocha \" tests/**/*.test.js\" " ,
5757 "test:coverage" : " c8 npm test" ,
5858 "test:jsr" : " npx -y jsr@latest publish --dry-run" ,
59- "test:types" : " tsc -p tests/types/tsconfig.json"
59+ "test:types" : " tsc -p tests/types/tsconfig.json" ,
60+ "test:types:5.3" : " npx -p typescript@5.3 -y -- tsc -p tests/types/tsconfig.legacy.json" ,
61+ "test:types:5.x" : " npx -p typescript@5.x -y -- tsc -p tests/types/tsconfig.json" ,
62+ "test:types:all" : " npm run test:types && npm run test:types:5.x && npm run test:types:5.3"
6063 },
6164 "keywords" : [
6265 " eslint" ,
Original file line number Diff line number Diff line change 11{
22 "extends" : " ../../tsconfig.json" ,
33 "compilerOptions" : {
4+ "allowJs" : false ,
5+ "checkJs" : false ,
46 "noEmit" : true ,
57 "rootDir" : " ../.." ,
68 "strict" : true ,
1113 "erasableSyntaxOnly" : true
1214 },
1315 "files" : [],
14- "include" : [" **/*.test.ts " , " **/*.test.cts " , " ../../dist" ]
16+ "include" : [" . " , " ../../dist" ]
1517}
Original file line number Diff line number Diff line change 1+ {
2+ "extends" : " ../../tsconfig.json" ,
3+ "compilerOptions" : {
4+ "allowJs" : false ,
5+ "checkJs" : false ,
6+ "noEmit" : true ,
7+ "rootDir" : " ../.." ,
8+ "strict" : true ,
9+ "strictNullChecks" : true ,
10+ "useUnknownInCatchVariables" : true ,
11+ "exactOptionalPropertyTypes" : true ,
12+ "verbatimModuleSyntax" : true
13+ // "erasableSyntaxOnly" is not supported in TypeScript < 5.8.
14+ },
15+ "files" : [],
16+ "include" : [" ." , " ../../dist" ]
17+ }
You can’t perform that action at this time.
0 commit comments