Commit Graph
8 Commits
Author SHA1 Message Date
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
Andy 947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Andy b00a552bdd Don't allowSyntheticDefaultImports (#19609) 2017-09-13 07:16:41 -07:00
Chris Krycho 149dde5da4 Revert "Remove --allowSyntheticDefaultImports" (from ember-testing-helpers)
This reverts commit 2ff76c2755.
2017-08-24 09:02:31 -04:00
Mohamed Hegazy 2ff76c2755 Remove --allowSyntheticDefaultImports 2017-08-14 14:06:21 -07:00
Chris Krycho 0196f2468e Update RSVP dependencies to allow synthetic imports. 2017-08-11 09:18:16 -04:00
Chris Krycho 5c9a773db9 Fix ember-testing-helpers tsconfig for CI. 2017-07-04 08:13:26 -04:00
Chris Krycho 272655e30d Add ember-testing lib helpers. 2017-07-03 22:47:31 -04:00