You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+25-1Lines changed: 25 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,11 +12,35 @@ If you are completely new to the TypeScript codebase, this YouTube video covers
12
12
13
13
From there, you can start in the [First Steps to Contributing to the TypeScript Repo](./first_steps.md) consult the [Glossary](./GLOSSARY.md) or dive directly into the [`./codebase/`](./codebase) or [`./systems/`](./systems) folders.
14
14
15
-
## Compilers in General
15
+
## Related TypeScript Info
16
16
17
17
- Learn how TypeScript works by reading the [mini-TypeScript implementation](https://github.com/sandersn/mini-typescript#mini-typescript)
18
+
19
+
## Compilers in General
20
+
18
21
- Recommended link for learning how compilers work: https://c9x.me/compile/bib/
19
22
23
+
## Interesting PRs
24
+
25
+
If you learn better by seeing how big features are added to TypeScript, here are a few big well-scoped Pull Requests:
Copy file name to clipboardExpand all lines: first_steps.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,8 +22,8 @@ file I am currently working on.
22
22
23
23
### Learn the debugger
24
24
25
-
You'll probably spend a good amount of time in it, if this is completely new to you. Here is a video from
26
-
[@alloy](https://github.com/alloy) covering all of the usage of the debugger inside VS Codeand how it works.
25
+
You'll probably spend a good amount of time in it, if this is completely new to you. [Here is a video from](https://www.youtube.com/watch?v=ChQ_sYjU8tU)
26
+
[@alloy](https://github.com/alloy) covering the usage of the debugger inside VS Code, what the buttons do and how it all works.
27
27
28
28
To test it out, open up `src/compiler/checker.ts` find `function checkSourceFileWorker(node: SourceFile) {` and
29
29
add a debugger on the first line in the code. If you open up `tests/cases/fourslash/getDeclarationDiagnostics.ts`
@@ -38,7 +38,7 @@ You'll probably want to add the following to your watch section in VS Code:
38
38
-`target.symbol.declarations[0].__debugKind`
39
39
40
40
This is really useful for keeping track of changing state, and it's pretty often that those are the names of
41
-
things you're looking for.
41
+
things you're looking for. You can learn some techniques about [debugging the compiler here](https://blog.andrewbran.ch/debugging-the-type-script-codebase/).
0 commit comments