In TypeScript, many people argue over when to use type vs interface
In TypeScript, many people argue over when to use type vs interface.
My rule? Use type when necessary.
Here are 5 things only type can do.
Otherwise, prefer interface. Interfaces display better, and are more performant.
