diff options
author | 2023-10-04 01:12:37 +0900 | |
---|---|---|
committer | 2023-10-03 09:12:37 -0700 | |
commit | 4f1710d2d6aba23613d3a62938efecfb7c10c364 (patch) | |
tree | 0c03d4c890f56933a6e5c3edf206eb4fb74fc999 | |
parent | 1acc8191f58c69333e941e28e7804fbc3da2595e (diff) | |
download | bun-4f1710d2d6aba23613d3a62938efecfb7c10c364.tar.gz bun-4f1710d2d6aba23613d3a62938efecfb7c10c364.tar.zst bun-4f1710d2d6aba23613d3a62938efecfb7c10c364.zip |
docs: update `typescript.md` (#6222)
Fix inconsistent results from `bun init`.
-rw-r--r-- | docs/typescript.md | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/typescript.md b/docs/typescript.md index 0417bc91f..ca1b5cefd 100644 --- a/docs/typescript.md +++ b/docs/typescript.md @@ -31,7 +31,7 @@ Bun supports things like top-level await, JSX, and extensioned `.ts` imports, wh "types": ["bun-types"], // enable latest features - "lib": ["esnext"], + "lib": ["ESNext"], "module": "esnext", "target": "esnext", @@ -45,7 +45,6 @@ Bun supports things like top-level await, JSX, and extensioned `.ts` imports, wh "jsx": "react-jsx", // support JSX "allowJs": true, // allow importing `.js` from `.ts` - "esModuleInterop": true, // allow default imports for CommonJS modules // best practices "strict": true, |