mirror of
https://github.com/ComposioHQ/composio.git
synced 2026-09-22 11:46:35 +08:00
b6e15fdd41
- Add jsx: react-jsx compiler option to twoslash config (fixes React UMD global errors) - Install @ai-sdk/react for useChat type resolution - Exclude examples/ from tsconfig (twoslash handles type-checking via <include>) - Allow expected error 2307 for local component import in page-with-tools.tsx Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
39 lines
942 B
JSON
39 lines
942 B
JSON
{
|
|
"compilerOptions": {
|
|
"baseUrl": ".",
|
|
"target": "ESNext",
|
|
"lib": ["dom", "dom.iterable", "esnext"],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"noEmit": true,
|
|
"esModuleInterop": true,
|
|
"module": "esnext",
|
|
"moduleResolution": "bundler",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"jsx": "react-jsx",
|
|
"incremental": true,
|
|
"paths": {
|
|
"@/*": ["./*"],
|
|
"fumadocs-mdx:collections/*": [".source/*"],
|
|
"zod": ["./node_modules/fumadocs-mdx/node_modules/zod"],
|
|
"zod/v3": ["./node_modules/fumadocs-mdx/node_modules/zod/v3"]
|
|
},
|
|
"plugins": [
|
|
{
|
|
"name": "next"
|
|
}
|
|
]
|
|
},
|
|
"include": [
|
|
"next-env.d.ts",
|
|
"**/*.ts",
|
|
"**/*.tsx",
|
|
".next/types/**/*.ts",
|
|
".next/dev/types/**/*.ts"
|
|
],
|
|
"exclude": ["node_modules", "scripts/preload.ts", "tests", "examples"]
|
|
}
|