mirror of
https://github.com/kennethnym/aris.git
synced 2026-04-19 16:21:18 +01:00
feat: migrate to TypeScript 6 and add tsgo (#114)
* feat: migrate to TypeScript 6 and add tsgo - Upgrade typescript from ^5 to ^6 across all packages - Address TS6 breaking changes in tsconfig files: - Add explicit types array (new default is []) - Remove deprecated baseUrl (paths work without it) - Remove redundant esModuleInterop: true - Merge DOM.Iterable into DOM lib - Install @typescript/native-preview for tsgo CLI - Enable tsgo in VS Code settings Co-authored-by: Ona <no-reply@ona.com> * chore: remove redundant tsconfig comments Co-authored-by: Ona <no-reply@ona.com> --------- Co-authored-by: Ona <no-reply@ona.com>
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
// Environment setup & latest features
|
||||
"lib": ["ESNext"],
|
||||
"target": "ESNext",
|
||||
"module": "Preserve",
|
||||
@@ -8,20 +7,19 @@
|
||||
"jsx": "react-jsx",
|
||||
"allowJs": true,
|
||||
|
||||
// Bundler mode
|
||||
"moduleResolution": "bundler",
|
||||
"allowImportingTsExtensions": true,
|
||||
"verbatimModuleSyntax": true,
|
||||
"noEmit": true,
|
||||
|
||||
// Best practices
|
||||
"types": ["bun"],
|
||||
|
||||
"strict": true,
|
||||
"skipLibCheck": true,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"noUncheckedIndexedAccess": true,
|
||||
"noImplicitOverride": true,
|
||||
|
||||
// Some stricter flags (disabled by default)
|
||||
"noUnusedLocals": false,
|
||||
"noUnusedParameters": false,
|
||||
"noPropertyAccessFromIndexSignature": false
|
||||
|
||||
Reference in New Issue
Block a user