#typescript

Interface or Type Alias in Typescript—A Short Opinionated Answer

Use type aliases for immutability and consistency, but interfaces may be preferred when it comes to error messages.