Re:Future of TypeScript on ESLint
by recursive on Friday January 18, 2019 @06:37PM
(#18944160)
Almost. This is valid javascript.
[ Parent
| on HN ]
Re:Future of TypeScript on ESLint
by alangpierce on Friday January 18, 2019 @07:00PM
(#18944279)
TypeScript code can be transpiled and executed even if there are type errors (just like how a linter doesn't stop you from running your code), so in that sense, it's also valid TypeScript.