Commit Graph

22 Commits

Author SHA1 Message Date
Nathan Jacobson
172dd79c16 Increase allowed mixin params to Ember.Component.extend (#19594) 2017-09-25 14:36:15 -07:00
Andy
b00a552bdd Don't allowSyntheticDefaultImports (#19609) 2017-09-13 07:16:41 -07:00
Nathan Shively-Sanders
e4e502a846 Merge pull request #18872 from chriskrycho/fix-exports-for-RSVP
RSVP: switch to `export =` with `allowSyntheticDefaultExports`.
2017-09-05 16:06:54 -07:00
Andy
cb2dbfbb50 Add ignores for new lint rules (#19504) 2017-09-01 07:47:52 -07:00
Chris Krycho
4ad5e86ffe Revert "Remove --allowSyntheticDefaultImports" (from ember)
This reverts commit 43a1348b91.
2017-08-24 09:02:49 -04:00
Andy
924fafffc0 Fix remaining lint errors (#19166) 2017-08-20 15:37:53 -07:00
Andy
5d6c651a1a Apply stricter lint rules (#19063) 2017-08-17 14:53:41 -07:00
Mohamed Hegazy
43a1348b91 Remove --allowSyntheticDefaultImports 2017-08-14 14:06:48 -07:00
Chris Krycho
0196f2468e Update RSVP dependencies to allow synthetic imports. 2017-08-11 09:18:16 -04:00
Chris Krycho
9b53cc27cf Update RSVP and its Ember dependents. (#18383)
- Add default export and test code to RSVP, including sample code from
  the RSVP library.
- Use imported RSVP types in Ember and ember-testing-helpers definitions.
- Set minimum TS version in RSVP, Ember, and ember-testing-helpers.
- Fix ember-testing-helpers header.
- Make RSVP a two-type-parameter type; update Ember typedefs accordingly.
- Update authors, definitions link in RSVP header.
2017-07-31 14:47:19 -07:00
Chris Krycho
382602b16a Fix some Ember definitions. (#18379)
- Add definitions for `computed.filter` and `computed.filterBy` methods.
- Add definitions for `getProperties` on Ember base object.
- Fix the `computed.map` definition to actually include the callback
- Fix the `run` method’s callback type.
2017-07-31 13:56:22 -07:00
Chris Krycho
5f081bc7b4 Add onerror and runInDebug to Ember typings. 2017-07-03 17:42:47 -04:00
Leonard Thieu
1c3565933c :( 2017-06-13 13:00:42 -04:00
Adnan Chowdhury
46eb9a8bfe Ember - Add additional type defs for RSVP namespace (#16359)
* add additional type defs for RSVP

* satisfy linting
2017-05-05 16:23:05 -07:00
Mohamed Hegazy
e564537f7f Fix lint failures (#16329)
* fix lint failures

* Fix more lint failures

* Fix some more lint errors
2017-05-04 15:31:42 -07:00
Robin Ward
b0a3133229 Ember: Missing optional parameter for Ember.Helper.helper function (#16250)
Currently, the second `hash` parameter to the closure is not supported,
even though it's used in the Ember Documentation for the method:

https://github.com/emberjs/ember.js/blob/v2.12.0/packages/ember-glimmer/lib/helper.js#L110-L114

I confirmed in the latest version of Ember.js that this `hash`
parameter works, so I believe the types should be updated to
support it.
2017-05-01 15:43:32 -07:00
Ryan Cavanaugh
2facc3f57b Merge pull request #15792 from ltegman/ember-isBlank
Add Ember isBlank and isPresent
2017-04-17 11:59:33 -07:00
Andy
bbc61fbf93 Extend "dtslint/dt.json" directly instead of "../tslint.json". (#15822)
* Extend "dtslint/dt.json" directly instead of "../tslint.json".

* Convert more "../tslint.json" to "dtslint/dt.json"

* no-redundant-modifiers -> strict-export-declare-modifiers
2017-04-14 08:04:05 -07:00
Logan Tegman
1bcc9e1dd7 Add Ember isBlank and isPresent 2017-04-11 14:24:09 -07:00
Andy
e69b58e400 Apply new lint rules to ever more packages (#15551) 2017-03-31 12:19:34 -07:00
Andy
5f3ba45136 Use dtslint (#15482) 2017-03-29 13:07:39 -07:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00