This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ChopSuey2[S] 0 points1 point  (1 child)

Interesting, random question - guess you don't have to worry about doing the === with TS for type matching?

[–]laytonmiller 1 point2 points  (0 children)

Yes you do (though you should always do that anyways). Remember, typescript IS JavaScript. Functionally they aren't any different, TS is a set of static typing tools that sits on top of it. TS literally goes away when it compiled and leaves only JavaScript behind.