Files
aniplay-api/tsconfig.json
Rushil Perera 8175d73df1 refactor: ♻️emoves Env parameter
Removes the `Env` parameter from several functions to simplify their signatures and rely on the global `env` for configuration.

This change reduces the number of arguments passed around, making the code cleaner and easier to maintain.
2025-08-10 19:22:14 -04:00

40 lines
829 B
JSON

{
"compilerOptions": {
"types": ["@types/bun"],
"baseUrl": "./",
"paths": {
"~/*": ["src/*"]
},
// Enable latest features
"lib": ["ESNext"],
"target": "ESNext",
"module": "ESNext",
// Bundler mode
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"noEmit": true,
// Best practices
"strict": true,
"skipLibCheck": true,
"noFallthroughCasesInSwitch": true,
// Some stricter flags
"noUnusedLocals": true,
"noUnusedParameters": false,
"noPropertyAccessFromIndexSignature": true,
// plugins
"plugins": [
{
"name": "@0no-co/graphqlsp",
"schema": "https://graphql.anilist.co",
"tadaOutputLocation": "./src/types/anilist-graphql.d.ts"
}
]
}
}