From cb52556bd1669d0b23e705d82284b673f8f1cd4c Mon Sep 17 00:00:00 2001 From: Patrick Klitzke Date: Thu, 14 Sep 2023 11:27:49 +0900 Subject: 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. --- packages/bun-types/README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/bun-types/README.md b/packages/bun-types/README.md index a4ca166a6..c11c1371d 100644 --- a/packages/bun-types/README.md +++ b/packages/bun-types/README.md @@ -21,9 +21,11 @@ Add this to your `tsconfig.json` or `jsconfig.json`: ```jsonc-diff { - -+ "types": ["bun-types"], - + "compilerOptions": { ++ "types": ["bun-types"] + // other options... + } + // other options... } ``` -- cgit v1.2.3