Skip to content

Commit 2dbd7cc

Browse files
authored
Update lib.d.ts.md
1 parent 8e5590f commit 2dbd7cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/types/lib.d.ts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ So now that you understand the importance of `lib.d.ts`, what do its contents lo
3838

3939
The contents of `lib.d.ts` are primarily a bunch of *variable* declarations e.g. `window`, `document`, `math` and a bunch of similar *interface* declarations e.g. `Window` , `Document`, `Math`.
4040

41-
The simplest way to discover what is declared is to type in code *that you know works* e.g. `Math.floor` and then F12 (go to definition) using your IDE (atom-typescript has great support for this).
41+
The simplest way to read the documentation and type annotations of global stuff is to type in code *that you know works* e.g. `Math.floor` and then F12 (go to definition) using your IDE (VSCode has great support for this).
4242

4343
Let's look at a sample *variable* declaration, e.g. `window` is defined as:
4444
```ts

0 commit comments

Comments
 (0)