News for hackers. Stuff that matters.
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?
Re:Why We Chose Typescript by moogly on Saturday July 01, 2017 @04:43PM (#14678907)
Yes, by using --allowJS and --checkJS switches (can also be set in tsconfig.json).
Re:Why We Chose Typescript by danmaz74 on Sunday July 02, 2017 @03:36AM (#14681365)
Thanks a lot - will try this!