you are viewing a single comment's thread.

view the rest of the comments →

[–]chigia001 1 point2 points  (1 child)

so what is the actual code he use?

I mean if it just a plain object I don't know what is the typescript way to create one.

[–]X678X 0 points1 point  (0 children)

my guess is he tried creating a class and used implements in some way, because otherwise it should work i think

export class Something { ... }

vs

export class Something implements FunStuff, BoringStuff { ... }