When to Use Type or Interface With TypeScript

By paulaphoto

In this article, I’ll be going over the differences between type and interface declarations in TypeScript. This is a question I often get asked at work and I thought it would be a good idea to make it into an article to share.

When referring to a Type created with the type keyword, what we are really referring to are Type Aliases. Type is often used…

--

--

Former golf instructor turned software engineer.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store