March 22, 2026
Sagar Panwar
interface vs. types in TS
Sagar PanwarThe main concept interfaces offer over types is declaration merging. On the other side, types can do a lot more than interfaces (mapped types, conditional types, etc)
Sagar PanwarThe main concept interfaces offer over types is declaration merging. On the other side, types can do a lot more than interfaces (mapped types, conditional types, etc)