Another reason to avoid prefixing TypeScript interfaces with "I": It can...


Another reason to avoid prefixing TypeScript interfaces with "I":

It can lead to duplicated types, because types and interfaces are prefixed differently.

Example: I’m auditing a codebase and found multiple types accidentally declared twice as both an interface and a type: 😬

View original on X