jed_fox1’s avatarjed_fox1’s Twitter Archive — № 638

  1. …in reply to @ralex1993
    @ralex1993 @typescript It’s for interoperability with CommonJS. I think export default makes the native Node require() function return an object with a default key under at least some TS configurations.