TypeScript at Google
neugierig.org
TypeScript at Google
1–10 of 201 posts
Re: TypeScript at Google
#2Re: TypeScript at Google
#3I wish they would make a JS/TS-based version of the Closure compiler. I suspect a lot of apps would benefit from the compilation and we'd see much smaller bundle sizes. But the Java dependency is a burden to bear.
Edit: here you go: https://www.npmjs.com/package/google-closure-compiler
Re: TypeScript at Google
#4Re: TypeScript at Google
#5My biggest wish for TypeScript is that it was easier to use experimental flavors that supported JS features currently being considered, such as the pipeline operator proposal.
Re: TypeScript at Google
#6I'm hesitant to work in any JavaScript code base that isn't using TypeScript at this point. Two years ago, it was painful to use as any early release is but the benefits were obvious. My biggest wish for TypeScript is that it was easier to use experimental flavors that supported JS features currently being considered, such as the pipeline operator proposal.
If I were looking for a regular job, I would probably filter employers based on whether they use TypeScript or not at this point (assuming it was some JavaScript-adjacent project). I'm not sure if there's really a good way of doing this sort of filtering.
Re: TypeScript at Google
#7Re: TypeScript at Google
#8I'm hesitant to work in any JavaScript code base that isn't using TypeScript at this point. Two years ago, it was painful to use as any early release is but the benefits were obvious. My biggest wish for TypeScript is that it was easier to use experimental flavors that supported JS features currently being considered, such as the pipeline operator proposal.
IMO, using such early proposals isn't worth the risk in production. Especially for proposals that are so young that they haven't even settled on a clear spec as to its behavior, like the pipeline operator.
Re: TypeScript at Google
#9I wish they would make a JS/TS-based version of the Closure compiler. I suspect a lot of apps would benefit from the compilation and we'd see much smaller bundle sizes. But the Java dependency is a burden to bear.
Isn't there already one? I seem to recall that it mostly works, just much more slowly than the java version Edit: here you go: https://www.npmjs.com/package/google-closure-compiler
Re: TypeScript at Google
#10I wish they would make a JS/TS-based version of the Closure compiler. I suspect a lot of apps would benefit from the compilation and we'd see much smaller bundle sizes. But the Java dependency is a burden to bear.
And the version shipped on NPM [1] has options for either native, Java, or JS.