|
|
|
|
|
by evmar
2480 days ago
|
|
We (Google TS team) maintain a tool[1] that transforms TS types into jsdoc types for the purpose of feeding them into 'advanced' mode. We also (to answer the grandparent question) maintain a tool[2] that converts Closure-annotated TS into JS. (Why both ways? We transition JS->TS and check it in as the code the user works with, while we use the TS->JS one within the compiler at optimization time.) [1] https://github.com/angular/tsickle [2] 'gents', in this repo https://github.com/angular/clutz |
|