4 ms·
The Angular project has a package for translating TS -> Closure, which appears to be used at Google in some capacity. https://github.com/angular/tsickle https:/
by bpicolo 7y ago
The Angular project has a package for translating TS -> Closure, which appears to be used at Google in some capacity. https://github.com/angular/tsickle https://github.com/angular/tsickle
- Nitramp 7y agoYes, we use that to use TS together with Closure for all our TS code at Google. It's a bit difficult to hook up though, and we haven't had the cycles to make the open source version user friendly, I'm afraid :-(
- bpicolo 7y agoIt would be really cool to see the user-friendly version (though that might lead to a rabbit hole on the Closure side, too). The Closure compiler remains awesome, just difficult to make use of successfully.
- evmar 7y agoYou might try out https://github.com/theseanl/tscc https://github.com/theseanl/tscc , which aims to do this.