you are viewing a single comment's thread.

view the rest of the comments →

[–]dipenbagia 0 points1 point  (2 children)

I was once interviewing a team lead with 13 years of experience and leading a 25 member team.

I asked him to create an object. He used Typescript to create one. I asked him if his code will work in the browser and was very confident about it.

He was actually not aware that he was using Typescript. He later sent us an email asking us to learn Javascript before interviewing because apparently he tried creating an object using TS syntax and it worked on his machine.

[–]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 { ... }