Re:TypeScript 4.1
by cryptica on Friday November 20, 2020 @08:06AM
(#25160065)
This is the feature of TypeScript that I'm most looking forward to. Default all variable and constant declarations to type 'any' so that TypeScript can look identical to JavaScript. Then we can remove the transpile step from our projects.
[ Parent
| on HN ]
You can already do exactly that. Just put .js at the end of your filename.
Or set `noImplicitAny` to false if you want to retain some type checking.