Commit Graph

13 Commits

Author SHA1 Message Date
Chris Krycho
7be938ddc6
Ember: make get unwrap module computed properties. 2018-02-15 15:39:25 -07:00
Chris Krycho
eb8cdf016c
Ember: actually use Controller registry in controllerFor. 2018-02-14 10:50:23 -07:00
Chris Krycho
4d8e8d1920
Ember, Ember Data: type registry improvements. 2018-02-08 08:44:07 -07:00
Chris Krycho
031e2ad65c
Ember: use type registry from service, controller lookups. 2018-02-04 20:37:13 -07:00
Derek Wickern
c4e9518121 ember: allow get/set with dynamic key (#22905) 2018-01-17 09:59:14 -08:00
Chris Krycho
8b902e076f Add ember-data error types; Ember.ViewUtils.isSimpleClick. (#22924) 2018-01-17 09:52:29 -08:00
Martin Feckie
6be899ad46 Improve typings for Enumerable (#22523)
* Fix typo Enumberable -> Enumerable

* Set return type to Enumerable of filter, reject etc to support chaining

* findBy value type should be any, not string

* Convert return type for Enumerable to NativeArray<T>
2018-01-03 16:06:45 -08:00
Chris Krycho
99b908fdb8 Revert Prettier-induced spacing, comma changes. 2017-12-28 15:20:20 -07:00
Chris Krycho
572137414c
Update Ember, Ember Data, Ember QUnit types. 2017-12-19 16:10:50 -07:00
Ignacio Bona Piedrabuena
a946202e81 Fixing route mount and adding tests 2017-12-02 09:10:41 -08:00
Derek Wickern
d17a9bb823 update ember typings 2017-11-19 09:46:14 -08:00
Andy
ce6f98d353
ember: Fix lint (#21123) 2017-10-30 10:59:00 -07:00
Chris Krycho
dfa4555106 Update Ember, RSVP, and Ember testing helpers. (#20301)
* Update RSVP to 4.0, to implement PromiseLike<T>.

- RSVP Promises can now be used with `async` and `await`.
- RSVP types now match what is in RSVP 4.0.

* Update ember-testing-helpers for fixed RSVP.

* Ember.js: correctly represent most of the framework.

- Capture the actual behavior of most of the framework, including computed
  properties, custom getters and setters and the custom Object model more
  generally, prototype extension via `.extend`, and the mixin pattern.
- Support the new modules API alongside the global API.
- Add extensive tests.
- Update inline documentation.
- Use the new, async/await compatible RSVP definitions.

* Ember/RSVP: drop .prettierrc files.

* Drop types/rsvp/assert.ts -- stick to just rsvp-test.ts.

* Fix ember-testing-helpers-tests on top of module itself.

* Fix RSVP import in ember-testing-helpers.

* Fix 'typeRoots', set ember-testing-helpers to use TS 2.4.

* Fix missing 'types' compiler option.

* Fix errors caught by dtslint.

* A few more tslint tweaks.

* Fix account link in ember-testing-helpers authorship.

* Disable strictFunctionTypes for Ember, RSVP.

* fix array.reduce signature conflict in ts@next
2017-10-13 03:13:17 -07:00