Skip to content

Tag: mixins

TypeScript Mixins and Constructor Names

I have this sample of code experimenting with mixins in TypeScript. However, it is not returning what I am expecting. It should give me: User ({“id”:3,”name”:”Lorenzo Delaurentis”}). Instead, I am getting: Function ({“id”:3,”name”:”Lorenzo Dela…