Re:Future of TypeScript on ESLint
by chrismorgan on Saturday January 19, 2019 @04:33AM
(#18946168)
And that’s exactly why Rust has the turbofish (a :: before the <), to resolve that syntactic ambiguity. TypeScript could have resolved it by requiring a . before the <, but it didn’t, and so you can devise contrived cases like this where it differs from JavaScript.
[ Parent
| on HN ]
There are no comments on this comment yet.