And yes, I know it took too long to make it public :)
-
-
-
@wycats Woah it's in Typescript! Do you see parts of Ember migrating to Typescript or more official support for Typescript in Ember? -
@scottmessinger yes to both -
@wycats@scottmessinger Babel + Flow > TypeScript -
@devinus@scottmessinger What about Babel + TypeScript? -
@wycats@scottmessinger There's been several issues on TypeScript talking about that, but I haven't seen anything come to fruition. :( -
@devinus@scottmessinger It's what we're doing for Glimmer so it's working for me! https://github.com/tildeio/glimmer/blob/master/ember-cli-build.js#L62-L66 … andhttps://github.com/tildeio/glimmer/blob/master/ember-cli-build.js#L102 … -
@wycats@scottmessinger So you're just using ES6 as the target for TS, then compiling that with Babel? What will TS do when it encounters... - 2 more replies
New conversation -
-
-
@wycats Nice! Just curious, why did you decide to switch Glimmer over to TS, and how do you like using it? -
@sugarpirate_ it's extremely algorithm & interface heavy, which is a perfect fit. Some issues but overall a big net win for this code -
@wycats@sugarpirate_ but TS has some downsides still, e.g. I don't think it transpiles generators for ES5. (for better or worse) -
@BenLesh@sugarpirate_ transpile to es6 then use babel for the next step -
@wycats@sugarpirate_ :) I was doing this for a while, actually. But that created some other issues for us and had to walk away. -
@BenLesh@sugarpirate_ hm. It's working perfectly for Glimmer which is quite large. -
@wycats@sugarpirate_ I'd have to search the issues to remember why. I want to say it had to do with .d.ts output for the lib. -
@BenLesh@sugarpirate_ ah. You don't emit .d.ts. Just use the original .ts files. - 1 more reply
New conversation -
-
-
@wycats I tried to use GlimmerComponents without ember-cli (research purposes), but I can't get it working. https://github.com/Mercateo/component-check/commit/c8b4df0b6e342e48d12fab480e1d5ca4417f9195#diff-b2401adead1e91da3f73f81ef649aba2R2 … ... -
@wycats I use canary and ember-template-compiler. Anything I missed? Normal components work fine.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.