2022-09-17 20:25:07 -05:00
|
|
|
{
|
2024-12-16 12:48:18 -06:00
|
|
|
"files": ["src/index.ts"],
|
|
|
|
|
"include": ["src/**/*.ts", "src/**/*.tsx"],
|
2024-11-10 01:55:07 -06:00
|
|
|
"compilerOptions": {
|
|
|
|
|
// Enable latest features
|
|
|
|
|
"lib": ["ESNext", "DOM"],
|
|
|
|
|
"target": "ESNext",
|
|
|
|
|
"module": "ESNext",
|
|
|
|
|
"moduleDetection": "force",
|
|
|
|
|
"jsx": "react-jsx",
|
|
|
|
|
"allowJs": true,
|
|
|
|
|
|
2024-12-16 12:48:18 -06:00
|
|
|
"declaration": true,
|
|
|
|
|
"outDir": "out",
|
|
|
|
|
|
2024-11-10 01:55:07 -06:00
|
|
|
// Bundler mode
|
|
|
|
|
"moduleResolution": "bundler",
|
|
|
|
|
"allowImportingTsExtensions": true,
|
|
|
|
|
"verbatimModuleSyntax": true,
|
2024-12-16 12:48:18 -06:00
|
|
|
"emitDeclarationOnly": true,
|
2024-11-10 01:55:07 -06:00
|
|
|
|
|
|
|
|
// Best practices
|
|
|
|
|
"strict": true,
|
|
|
|
|
"skipLibCheck": true,
|
|
|
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
|
|
|
|
|
|
// Some stricter flags (disabled by default)
|
|
|
|
|
"noUnusedLocals": false,
|
|
|
|
|
"noUnusedParameters": false,
|
|
|
|
|
"noPropertyAccessFromIndexSignature": false
|
|
|
|
|
}
|
|
|
|
|
}
|