diff --git a/codebase/src/compiler/checker.md b/codebase/src/compiler/checker.md index 2ab73a3..a53b82f 100644 --- a/codebase/src/compiler/checker.md +++ b/codebase/src/compiler/checker.md @@ -17,6 +17,8 @@ Switching to different files means probably making [god objects][god], and the c We want to avoid additional calls for ambient context. There are architectural patterns for this, but it's better to assume good faith that they've been explored already (8 years down the line now.) +[god]: https://en.wikipedia.org/wiki/God_object + Anyway, better to get started somewhere. I [asked online](https://twitter.com/orta/status/1148335807780007939) about how people would try to study a file like this and I think one of the best paths is by following a particular story as a file gets checked. @@ -225,4 +227,6 @@ TODO: what are substituted types? [22]: [23]: https://github.com/microsoft/TypeScript/blob/db9e0079/src/compiler/checker.ts#L18872 [23]: +[24]: https://github.com/microsoft/TypeScript/blob/eb430f27/src/compiler/types.ts#L6097 +[24]: