Skip to content

Commit

Permalink
docs(env-and-mode): fix typescript lib links (fix #17488) (#17497)
Browse files Browse the repository at this point in the history
  • Loading branch information
matteo-gobbo committed Jun 17, 2024
1 parent 4219b86 commit 8eecc62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/env-and-mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ interface ImportMeta {
}
```
If your code relies on types from browser environments such as [DOM](https://github.com/microsoft/TypeScript/blob/main/lib/lib.dom.d.ts) and [WebWorker](https://github.com/microsoft/TypeScript/blob/main/lib/lib.webworker.d.ts), you can update the [lib](https://www.typescriptlang.org/tsconfig#lib) field in `tsconfig.json`.
If your code relies on types from browser environments such as [DOM](https://github.com/microsoft/TypeScript/blob/main/src/lib/dom.generated.d.ts) and [WebWorker](https://github.com/microsoft/TypeScript/blob/main/src/lib/webworker.generated.d.ts), you can update the [lib](https://www.typescriptlang.org/tsconfig#lib) field in `tsconfig.json`.
```json
{
Expand Down

0 comments on commit 8eecc62

Please sign in to comment.