Chris Krycho
4b5714e8e9
[@ember/routing] Fix Ember.inject.controller tests.
2019-04-03 08:13:24 -06:00
Wesley Wigham
4d0a8f38cf
Change libaries to rely less on implicit {} in test output ( #34336 )
2019-03-29 15:28:15 -07:00
Mike North
59c441bc45
[ember] ember-octane decorator types ( #33963 )
...
* [@ember/object] types for @action and @computed decorators
* [@ember/service] add support for ember-octane @inject decorator
* [@ember/object] absolute import in tests
* [@ember/controller] controller @inject decorator for ember-octane
* [ember] lint fixes
* [@ember/object] decorators for computed property macros in ember-octane
2019-03-18 08:44:39 -07:00
Nathan Shively-Sanders
ee101ed5b1
Merge pull request #33520 from mike-north/ember-assign
...
[ember] Remove improperly-deprecated Ember.assign
2019-03-07 16:23:49 -08:00
Nathan Shively-Sanders
032dbdcc08
Merge pull request #33522 from mike-north/fix-deprecate
...
[@types/ember] Add url property to deprecation options
2019-03-07 16:22:53 -08:00
Nathan Shively-Sanders
a205830fc9
Nightly cleanup 06-03-2019
...
1. Add handlebars depdencies missed in #33518 , which deprecated
@types/handlebars now that handlebars ships its own types.
2. Add project homepage for kafkajs.
2019-03-06 09:53:22 -08:00
Mike North
3bf06f2894
[ember/v2] add limited handlebars types to old ember types
2019-03-01 12:31:23 -08:00
simonihmig
e065fec390
Add url property to deprecation options
...
See 56d60eac53/packages/%40ember/debug/lib/deprecate.ts (L16)
2019-03-01 12:08:26 -08:00
Mike North
9ecdc820da
[ember/v2] add limited handlebars types to old ember types
2019-03-01 12:00:16 -08:00
Mike North
4245ec9106
[ember/v2] remove dependency on handlebars types
2019-03-01 11:57:56 -08:00
simonihmig
465aea12e4
[ember] Fix wrongly deprecated Ember.assign
2019-03-01 11:49:32 -08:00
Mike North
112076b653
[ember] remove dependency on handlebars types
2019-03-01 11:42:23 -08:00
Mike North
88c4302be4
Merge branch 'master' of github.com:DefinitelyTyped/DefinitelyTyped into handlebars-updates
2019-03-01 09:59:00 -08:00
Nathan Shively-Sanders
84d936db3f
Ember workarounds and fixes for TS 3.4
...
1. Ember-data tests had the wrong return type in a couple of places. TS
3.4 catches this error, and this PR fixes it.
2. Ember-data's Model class became invariant in 3.4 because of its use of the
`this` type. This PR uses a `this` parameter with a method-local type
parameter to avoid using Model's `this` type.
3. Ember v2's tests were broken by TS 3.4's more complete return-type
inference, which caused a variable declaration's type annotation to
break inference through contextual typing. This PR converts the type
annotation to type parameters on the call, which short-circuits
inference entirely. It's also shorter.
2019-02-26 14:38:40 -08:00
Nils Knappmeier
92ea4066e2
[@types/handlebars]: Remove package, types are now integrated in handlebars
2019-02-19 16:31:03 +01:00
Nathan Shively-Sanders
f0ce987bc1
Update project urls to match NPM url
...
Note that this *trivially* updates project urls by adding the NPM url to
the end, even when the urls are almost identical or the DT one is
outdated. I'll clean up the urls in a later commit.
This PR is unfinished! Please do not merge it yet.
2019-02-11 17:10:55 -08:00
Mike North
fee22b212b
fix: add @ember/object notifyPropertyChange
2018-12-12 13:08:54 -08:00
Nathan Shively-Sanders
3278a1163b
Merge pull request #30677 from DefinitelyTyped/fix-mali-dependents
...
Fix mali dependents
2018-11-20 10:13:20 -08:00
Nathan Shively-Sanders
afd53b56cc
Fix unrelated lints
2018-11-20 09:12:00 -08:00
Ruslan Hrabovyi
7aef9be4cd
[@ember/routing] Fix redirect hook
...
Prior to this commit `redirect()` hook was mistakenly
typed and documented the same way as `refresh()`.
It's now fixed for v2 and v3 now.
While v3 is provided with a positive and a negative test
cases, v2 is only provided with a positive one.
This is because v2 uses typescript of version 2.4 which is
not able to catch the failing test case.
2018-11-14 01:12:46 +02:00
Andy
537a12f8aa
Assorted tsconfig fixes ( #29760 )
...
* Assorted tsconfig fixes
* Undo ember__object changes
2018-10-15 16:17:32 -07:00
Christian
2b651d9c4f
fix(ember__error): make EmberError extendable ( #29337 )
2018-10-01 21:02:28 -07:00
Mike North
8d2d24c520
[ember] remove unused types
2018-09-26 21:52:40 -07:00
Mike North
0bea293eae
[ember] remove deprecated and private types
...
Fixes https://github.com/typed-ember/ember-cli-typescript/issues/315
2018-09-25 16:16:20 -07:00
Mike North
0f5eab6afa
[ember] enable lint rules
2018-09-24 20:09:30 -07:00
Mike North
8e5ac6dc85
[ember] fix code indent
2018-09-24 20:09:25 -07:00
Mike North
9797ae0d95
[ember] Unwrap declare 'ember'
2018-09-24 20:09:17 -07:00
Mike North
479132fc56
[ember] @ember/service as source of types, ember as re-export
2018-09-24 18:50:15 -07:00
Mike North
20d6cdb189
Merge branch 'master' of github.com:DefinitelyTyped/DefinitelyTyped into ember-runloop
2018-09-24 18:24:16 -07:00
Mike North
961849c7df
Merge branch 'master' of github.com:DefinitelyTyped/DefinitelyTyped into ember-runloop
2018-09-24 16:31:02 -07:00
Mike North
3995e0d15e
Merge branch 'master' of github.com:DefinitelyTyped/DefinitelyTyped into ember-error
2018-09-24 16:25:55 -07:00
Mike North
466bd2829c
[ember] ensure that Ember.run and @ember/runloop variants are equally tested
2018-09-21 23:26:40 -07:00
Mike North
904c936f7b
[ember] @ember/test as source of types, ember as re-export
2018-09-21 23:13:47 -07:00
Mike North
b2f4d72470
[ember] @ember/application as source of types, ember as re-export
2018-09-21 19:04:32 -07:00
Mike North
afa85f2af4
[ember] @ember/routing as source of types, ember as re-export
2018-09-21 18:35:26 -07:00
Mike North
ff0bdade31
[ember] @ember/runloop as source of types, ember as re-export
2018-09-21 18:13:08 -07:00
Mike North
4066620479
[ember] @ember/error as source of types, ember as re-export
2018-09-21 18:09:23 -07:00
Mike North
478a3c1a79
[ember] @ember/component as source of types, ember as re-export
2018-09-21 18:06:54 -07:00
Mike North
2df1537a19
[ember] @ember/controller as source of types, ember as re-export
2018-09-21 17:43:48 -07:00
Mike North
6b4a611fb9
[ember] resolve merge conflicts
2018-09-21 16:49:43 -07:00
Mike North
5679ed161c
[ember-data] fix failing tests on master
2018-09-21 16:38:26 -07:00
Mike North
b06c90628d
[ember] resolve merge conflicts
2018-09-21 16:27:57 -07:00
Mike North
597dd36232
[ember] remove Initalizer (already exists in @emver/engines)
2018-09-21 11:08:21 -07:00
Mike North
c1334974a1
[ember] more tests
2018-09-21 10:57:33 -07:00
Mike North
049ea9e2b4
[ember] more tests
2018-09-21 10:54:01 -07:00
Mike North
95429c7cf7
[ember] remove instrumentation tests
2018-09-21 10:51:21 -07:00
Mike North
97ed4c050f
[ember] more tests
2018-09-21 10:44:03 -07:00
Mike North
32d17f5bcd
[ember] more tests
2018-09-21 10:28:48 -07:00
Mike North
94ea6467bf
[ember] sendEvent should return a boolean
2018-09-21 10:20:03 -07:00
Mike North
67c6b11b3a
[ember] assert that Ember.ObjectProxy is an ObjectProxy
2018-09-21 10:05:12 -07:00