What is the difference between type and class in Typescript?
Typescript has two different universes that come into contact in some points: Value space and Type space. Type space is where types are defined and types get erased completely and don’t exist at runtime. Value space contains values and will obviously exist at runtime. What is a value? Value literals, variables, constants and parameters are … Read more