File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ Switching to different files means probably making [god objects][god], and the c
17
17
We want to avoid additional calls for ambient context. There are architectural patterns for this, but it's better
18
18
to assume good faith that they've been explored already (8 years down the line now.)
19
19
20
+ [god]: https://en.wikipedia.org/wiki/God_object
21
+
20
22
Anyway, better to get started somewhere. I [asked online](https://twitter.com/orta/status/1148335807780007939)
21
23
about how people would try to study a file like this and I think one of the best paths is by following a
22
24
particular story as a file gets checked.
@@ -225,4 +227,6 @@ TODO: what are substituted types?
225
227
[ 22 ] : < src/compiler/checker.ts - function eachTypeRelatedToSomeType >
226
228
[ 23 ] : https://github.com/microsoft/TypeScript/blob/db9e0079/src/compiler/checker.ts#L18872
227
229
[ 23 ] : < src/compiler/checker.ts - function structuredTypeRelatedTo >
230
+ [ 24 ] : https://github.com/microsoft/TypeScript/blob/eb430f27/src/compiler/types.ts#L6097
231
+ [ 24 ] : < src/compiler/types.ts - export const enum Ternary >
228
232
<!-- prettier-ignore-end -->
You can’t perform that action at this time.
0 commit comments