Lauren Tan 9e8224cc59 Pass init to E0007 diagnostic
I'm not sure why exactly but previously this diagnostic message was 

unusually slow to typecheck. Lifting the getter for init outside of the 

diagnostic to the callsite seems to fix the hotspot. Probably some 

interaction with string interpolation, or something else. 

Test case: ran `yarn ts:analyze-trace`, hotspot for Diagnostic.ts no 

longer present
2022-10-14 17:36:20 -04:00
2022-10-14 17:36:20 -04:00
Languages
JavaScript 48.8%
Rust 26.4%
TypeScript 22.7%
HTML 1%
CSS 0.8%
Other 0.3%