aboutsummaryrefslogtreecommitdiff
path: root/docs/typescript.md
diff options
context:
space:
mode:
authorGravatar Colin McDonnell <colinmcd94@gmail.com> 2023-09-13 21:36:35 -0700
committerGravatar Colin McDonnell <colinmcd94@gmail.com> 2023-09-13 21:36:35 -0700
commitfbafbd3394a2c1a1112df148fa2b151ee0955cc5 (patch)
tree10752e05139c6a0887e6b18e717493cf3fefc3b8 /docs/typescript.md
parent66c040142609c42d7a90bdf4d8233306449713d4 (diff)
downloadbun-fbafbd3394a2c1a1112df148fa2b151ee0955cc5.tar.gz
bun-fbafbd3394a2c1a1112df148fa2b151ee0955cc5.tar.zst
bun-fbafbd3394a2c1a1112df148fa2b151ee0955cc5.zip
Reorganize Intro section
Diffstat (limited to 'docs/typescript.md')
-rw-r--r--docs/typescript.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/typescript.md b/docs/typescript.md
index d4142eccf..b764ee50e 100644
--- a/docs/typescript.md
+++ b/docs/typescript.md
@@ -61,7 +61,7 @@ If you run `bun init` in a new directory, this `tsconfig.json` will be generated
$ bun init
```
-### DOM types
+## DOM types
Unfortunately, setting a value for `"types"` means that TypeScript will ignore other global type definitions, including `lib: ["dom"]`. If you need to add DOM types into your project, add the following [triple-slash directives](https://www.typescriptlang.org/docs/handbook/triple-slash-directives.html) at the top of any TypeScript file in your project.