Commit Graph

7 Commits

Author SHA1 Message Date
Kasper Guldmann Nielsen
2effeac8f0 angular: gave a more precise return type to $q.all<T>() 2017-06-21 18:53:30 +02:00
Nathan Shively-Sanders
163f4438df Fix weak type errors (#16845)
* Fix first round of weak type errors

Done through griddle-react

* 95% done with weak type fixes

* Fix last couple of weak type errors

* Remove some lint from mithril tests

* mithril's Lifecycle is not a weak type any more

Restore the Lifecycle constraints in the rest of the definitions.

* Fix react-redux tests after #16652 broke them

* Remove package-lock.json
2017-06-04 22:03:03 -07:00
Mateusz
d5240b6d9c Re-add generic Function type to IInjector.invoke() sygnature. (#16042)
Looks like it is used in some projects. 'Function' should be treated
as a function with '(..args: any[]) => any' signature.
2017-04-26 11:47:36 -07:00
Mateusz Greszta
30b9603742 Improve types of 'instantiate' and 'invoke' of IInjectorService.
The result is inferred form the argument, which removes the need of any cast.
2017-04-18 17:01:47 +02:00
Andy
4cac3c5b44 Apply new lint rules in more packages (#15521) 2017-03-30 12:33:22 -07:00
Andy
3e49f5d2ba angular: Apply new lint rules and remove redundant rules from tslint.json (#15484) 2017-03-29 15:33:53 -07:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00