Comments (6)
@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.
Great call-outs.
-
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.
-
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.
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.
@chriskrycho Thanks for super detailed response. Happy to see we are thinking in that direction as well.
Curious to understand the following:
- 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.
Is there a clean way to reference ember-typings (instead of DT) for testing?
from ember-cli-typescript.
@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)
- ember install ember-cli-typescript does not set eslint parser to @typescript-eslint/parser HOT 2
- Provide CLI option for `tsconfig.json` path to allow different config per env HOT 1
- Type for location missing in Routing types HOT 2
- Type-checking failure in node_modules on a fresh Ember app HOT 6
- No declaration files output during precompile HOT 3
- Can subclass declarations include the inherited aspects of the base class? HOT 3
- Typechecker eats 70% of CPU when idle HOT 2
- `AsyncHasMany` resolves to `ArrayProxy`, can't access `reload`/`createRecord` methods on resolved promise HOT 2
- Make sure docs are up to date for Signature usage HOT 1
- Cant find `meta` on `PromiseManyArray` HOT 4
- Broken with Embroider 1.9.0 HOT 1
- "@ember/test-helpers/setup-rendering-context"' has no exported member named 'rerender'. Did you mean 'render'? HOT 1
- memory leak of ts errors HOT 1
- bug: when `moduleName` and `package.name` differ, types will not be generated by default HOT 1
- Incompatible ECMAScript version being used during the build HOT 1
- Newly generated component is not buildable: Property 'element' does not exist on type 'TestContext' HOT 2
- Issue when building ember app with exports from GTS file into TS file HOT 2
- Warnings when using ember-cli-babel 8.x HOT 1
- Switch to maintenance mode HOT 18
- v6 release: the last major? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ember-cli-typescript.