From fbafbd3394a2c1a1112df148fa2b151ee0955cc5 Mon Sep 17 00:00:00 2001 From: Colin McDonnell Date: Wed, 13 Sep 2023 21:36:35 -0700 Subject: Reorganize Intro section --- docs/typescript.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/typescript.md') 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. -- cgit v1.2.3