diff options
author | 2023-09-13 21:36:35 -0700 | |
---|---|---|
committer | 2023-09-13 21:36:35 -0700 | |
commit | fbafbd3394a2c1a1112df148fa2b151ee0955cc5 (patch) | |
tree | 10752e05139c6a0887e6b18e717493cf3fefc3b8 /docs/typescript.md | |
parent | 66c040142609c42d7a90bdf4d8233306449713d4 (diff) | |
download | bun-fbafbd3394a2c1a1112df148fa2b151ee0955cc5.tar.gz bun-fbafbd3394a2c1a1112df148fa2b151ee0955cc5.tar.zst bun-fbafbd3394a2c1a1112df148fa2b151ee0955cc5.zip |
Reorganize Intro section
Diffstat (limited to 'docs/typescript.md')
-rw-r--r-- | docs/typescript.md | 2 |
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. |