Creating object based on interface type in Typescript
Interface in Typescript is used to tell the compiler what the shape of the JS
object should look like.
It is a compile time construct hence it will not have generated code as type
checking in Typescript is only done at compile time rather than runtime.
I'm learning