jed_fox1’s avatarjed_fox1’s Twitter Archive — № 796

  1. …in reply to @gsnedders
    @gsnedders Likely not at the type level (since there isn’t a way to make a custom warning message). However, you could write an ESLint tule (with @tseslint) that warns against a known list of properties being written on an object of a certain type. It would be difficult to catch everything.