mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
TypeScript 7's own tsc is the Go-native compiler, so the separate tsgo binary from the dev-preview package is redundant. yarn type-check now runs tsc --noEmit. Bump tsconfig target to ES2018 and add types: [node] to fix the pre-existing NodeJS namespace, global, and /s regex flag errors that stable tsc reports but tsgo did not.
27 lines
563 B
JSON
27 lines
563 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2018",
|
|
"lib": [
|
|
"dom",
|
|
"dom.iterable",
|
|
"esnext"
|
|
],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"esModuleInterop": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"strict": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"module": "esnext",
|
|
"moduleResolution": "bundler",
|
|
"types": ["node"],
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"noEmit": true,
|
|
"jsx": "react-jsx"
|
|
},
|
|
"include": [
|
|
"src"
|
|
]
|
|
} |