GithubHelp home page GithubHelp logo

Comments (6)

chriskrycho avatar chriskrycho commented on June 2, 2024 1

@kratiahuja roadmap is going to be there, yep! I'm just swamped with a couple other things and haven't had a chance to write it up yet. One big part of the roadmap is going to be getting typings in place for the rest of the ecosystem, on top of Ember itself. Probably have it up tomorrow or Wednesday.

As for DT: we are planning to push everything back to DT. But because we're rewriting all the definitions to take advantage of new features from the TS 2.x series, and there's a lot to do, it's a lot easier to coordinate by just having a small repo where we can work together on it. You're more than welcome to pitch in there! DT is a rough place to try this kind of thing: it's a high-traffic, many-project repo. Having a small one of our own also gives us a place where we can have early versions of it for people to try and find gaps, edge cases, etc. so we can tighten it up and ship it solidly before we submit a very large PR to DT with all these changes (can't really do it incrementally).

from ember-cli-typescript.

chriskrycho avatar chriskrycho commented on June 2, 2024

Great call-outs.

  1. We're actively working on it—I'll have a blog post up tomorrow or Wednesday talking about that plan, but for a preview, you can watch typed-ember/ember-typings, where we're (a) building an updated, well-typed set of typings for Ember using the latest TS bits and (b) going to have support for the new modules API.

  2. So, about that new modules API: my plan is to track what Ember itself is doing: starting by landing re-export shims around the existing (global) type declarations. That way, the transition will be fully backwards compatible for consumers of the typings. (TS does allow us to re-export that way, so that's what we'll be doing.) As Ember moves from just shims to actually shipping the packages, not just shims, we'll probably do likewise (though we'll need to continue to think about how to maintain backward compatibility there).

from ember-cli-typescript.

chriskrycho avatar chriskrycho commented on June 2, 2024

Also, dupe of #39. Going to close this in favor of that one. Also going to update that one once I have those blog posts ready.

from ember-cli-typescript.

kratiahuja avatar kratiahuja commented on June 2, 2024

@chriskrycho Thanks for super detailed response. Happy to see we are thinking in that direction as well.

Curious to understand the following:

  1. Why are we moving away from having the type definition in DefinitelyTyped to a different repo/organization?

My team is eagerly looking to use this and we would be more than willing to lend a helping hand in shipping things for 1.0.0. Is there a roadmap that you could share in your blog post/issue in this repo that we can contribute to?

from ember-cli-typescript.

theroncross avatar theroncross commented on June 2, 2024

Is there a clean way to reference ember-typings (instead of DT) for testing?

from ember-cli-typescript.

chriskrycho avatar chriskrycho commented on June 2, 2024

@theroncross You should be able to npm install or yarn from the actual repo and then just include it in the paths mapping in compilerOptions.

from ember-cli-typescript.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.