Files
chat/tsconfig.json
zeekay 5dcce9026e Import within the package, not through an alias
The tilde resolves through the importing project's tsconfig, so a published
file asking for ~/data/types reads the consumer's source, not ours. A relative
path means the same thing in every project that installs this one.
2026-09-03 10:20:16 -07:00

24 lines
719 B
JSON

{
"compilerOptions": {
"target": "ES2023",
"lib": ["ES2023", "DOM", "DOM.Iterable"],
"module": "ESNext",
"moduleResolution": "bundler",
"moduleDetection": "force",
"jsx": "react-jsx",
"types": ["node", "vite/client"],
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"verbatimModuleSyntax": true,
"isolatedModules": true,
// `node --test` runs the suites straight off source; Node ESM needs the
// extension, and nothing emits, so importing one is exact rather than lax.
"allowImportingTsExtensions": true,
"skipLibCheck": true,
"noEmit": true
},
"include": ["src", "vite.config.ts"]
}