Prefer interfaces

In Typescript you can declare data structures in one of two ways

1. As type aliases
2. As interfaces

Most devs use these interchangeable but there are good reasons to prefer interfaces over type aliases: size and performance

The problem is particularly noticeable on larger codebases. Type aliases are always expanded inline while interfaces are always referenced by name.

If you want to keep your code smaller and loading faster, prefer interfaces

https://ncjamieson.com/prefer-interfaces/