style: add tsconfig path

Summary:

Test Plan:
This commit is contained in:
2024-05-14 22:11:44 -04:00
parent 29345a7bd1
commit d34a1a4771

View File

@@ -1,13 +1,30 @@
{
"compilerOptions": {
"types": ["@cloudflare/workers-types"],
"baseUrl": "./",
"paths": {
"~/*": ["src/*"]
},
// Enable latest features
"lib": ["ESNext"],
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "Bundler",
// Bundler mode
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"noEmit": true,
// Best practices
"strict": true,
"skipLibCheck": true,
"lib": ["ESNext"],
"types": ["@cloudflare/workers-types"],
"jsx": "react-jsx",
"jsxImportSource": "hono/jsx"
"noFallthroughCasesInSwitch": true,
// Some stricter flags
"noUnusedLocals": true,
"noUnusedParameters": false,
"noPropertyAccessFromIndexSignature": true
}
}