Re:Why We Chose Typescript
by danmaz74 on Saturday July 01, 2017 @01:02PM
(#14677867)
Thanks, but from a bit of research it's not clear to me: does this mean that it's possible to use TypeScript to type-check javascript files which include these annotations, without using .ts at all?
[ Parent
| on HN ]
Yes, by using --allowJS and --checkJS switches (can also be set in tsconfig.json).