-
-
Notifications
You must be signed in to change notification settings - Fork 152
Expand file tree
/
Copy pathtsconfig.json
More file actions
23 lines (23 loc) · 841 Bytes
/
Copy pathtsconfig.json
File metadata and controls
23 lines (23 loc) · 841 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"compilerOptions": {
"lib": ["ESNext", "DOM"],
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "bundler",
"types": ["bun"],
"strict": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"skipLibCheck": true,
"allowImportingTsExtensions": true,
"noEmit": true,
"jsx": "react-jsx",
// ink's reconciler imports `react-devtools-core` inside a branch it never takes, and the
// bundler resolves it anyway — see cli/ui/devtools-stub.ts for why the fix is an alias and not
// `--external`. Bun's bundler honours this map, so the compiled binary and `bunx tsc` agree.
"paths": { "react-devtools-core": ["./cli/ui/devtools-stub.ts"] }
},
"include": ["bridge", "cli", "scripts/**/*.ts"]
}