Skip to content

Commit cb52556

Browse files
authored
fix(doc): Add "compilerOptions" to bun-types README.md (#5325)
Reading the documentation on bun-types it was not clear to me that the tsconfig.ts needs to look like this: ``` { "compilerOptions": { "types": ["bun-types"] } } ``` So i added the "compilerOptions" information.
1 parent 03d9bcd commit cb52556

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

packages/bun-types/README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@ Add this to your `tsconfig.json` or `jsconfig.json`:
2121

2222
```jsonc-diff
2323
{
24-
25-
+ "types": ["bun-types"],
26-
24+
"compilerOptions": {
25+
+ "types": ["bun-types"]
26+
// other options...
27+
}
28+
2729
// other options...
2830
}
2931
```

0 commit comments

Comments
 (0)