From 3ba129df078789e23259d7670cc26c35e909d720 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sun, 16 Nov 2025 04:34:27 +0000 Subject: [PATCH] TypeScript config for Vercel API functions cgen-3fe92d0d245745a6915a58750fee613a --- api/tsconfig.json | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 api/tsconfig.json diff --git a/api/tsconfig.json b/api/tsconfig.json new file mode 100644 index 00000000..8d2fb1c7 --- /dev/null +++ b/api/tsconfig.json @@ -0,0 +1,26 @@ +{ + "compilerOptions": { + "target": "ES2020", + "module": "ES2020", + "lib": ["ES2020"], + "moduleResolution": "node", + "strict": false, + "esModuleInterop": true, + "skipLibCheck": true, + "forceConsistentCasingInFileNames": true, + "resolveJsonModule": true, + "declaration": true, + "declarationMap": true, + "sourceMap": true, + "outDir": "./", + "rootDir": "./", + "baseUrl": ".", + "paths": { + "@/*": ["../client/*"], + "@shared/*": ["../shared/*"], + "@/server/*": ["../server/*"] + } + }, + "include": ["./**/*.ts"], + "exclude": ["node_modules", "**/*.d.ts"] +}