generated from nhcarrigan/template
acda4c2fc4
- Add @types/node to API devDependencies
- Create HonoEnv type and apply to all routers + auth middleware for
proper context.get/set("discordId") typing
- Use conditional spreads for exactOptionalPropertyTypes dailyChallenges
in GameContext, tick engine, and prestige route
- Use conditional spread for optional signature in SaveRequest calls
- Add non-null assertions in shuffle/template index for noUncheckedIndexedAccess
- Cast GameState to never for Prisma InputJsonValue fields
- Exclude vite.config.ts from web tsconfig (it runs in Node context)
12 lines
280 B
JSON
12 lines
280 B
JSON
{
|
|
"extends": "@nhcarrigan/typescript-config",
|
|
"compilerOptions": {
|
|
"outDir": "./prod",
|
|
"rootDir": ".",
|
|
"jsx": "react-jsx",
|
|
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
|
"target": "ES2022"
|
|
},
|
|
"exclude": ["test/**/*.ts", "test/**/*.tsx", "vite.config.ts"]
|
|
}
|