jed_fox1’s avatarjed_fox1’s Twitter Archive — № 1,001

  1. …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.