jed_fox1’s Twitter Archive
— № 1,001
⇤ Newest
Tweet
⇠ Newer
Tweet
Older
Tweet
⇢
…in reply to @giovannibenussi
@
giovannibenussi
@
kentcdodds
@
typescript
I’m pretty sure that blog post is talking about const and let in a value context (i.e. normal code). declare global is different, and anything declared in that block will end up on the global, in TS’s mind.
On twitter.com
2021 Jul 3
Mood
0