chore(deps): drop @typescript/native-preview in favor of typescript 7 native tsc

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.
This commit is contained in:
Tommaso Casaburi
2026-07-09 15:17:35 +07:00
parent 217fccf2d6
commit ece58da78b
6 changed files with 7 additions and 89 deletions
+2 -1
View File
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "ES2015",
"target": "ES2018",
"lib": [
"dom",
"dom.iterable",
@@ -15,6 +15,7 @@
"noFallthroughCasesInSwitch": true,
"module": "esnext",
"moduleResolution": "bundler",
"types": ["node"],
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,