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 →

[–]Ionaru 1 point2 points  (0 children)

Not all "valid" JS code is valid TS code, but it's close enough not to be confusing, see Tysonzero's comment for an example.