Oscar Busk
f4e0c531ba
Add typing for object syntax on component registerer ( #25507 )
2018-05-03 10:51:31 -07:00
Georgii Dolzhykov
628cbd69e1
AngularJS: improve types for foreach (support for array-likes)
2018-02-08 20:50:26 +02:00
Georgii Dolzhykov
50ae629d0c
AngularJS: rename confusing identifiers in tests ( #23314 )
2018-01-31 14:44:50 -08:00
Georgii Dolzhykov
37c1b1dfea
AngularJS: 1) fix for $q.reject in then callbacks, 2) types for $error and $pending ( #23115 )
...
* AngularJS: 1) fix an issue with $q.reject in then callbacks, 2) types for $error and $pending
Fixes #21333
* Promise typings from lib.d.ts + IPromise<never> hack
2018-01-29 12:12:25 -08:00
Andy
219dd6df82
Fix 'prefer-readonly' lint failures ( #22819 )
2018-01-10 14:59:37 -08:00
Andy
30957ad3d8
Remove // tslint:disable comments ( #22198 )
2017-12-14 13:24:24 -08:00
mtraynham
7f84ba072d
Add optional generic typing test for Angular IDirectiveCompileFn
2017-11-06 11:55:05 -05:00
Georgii Dolzhykov
44e215bda7
AngularJS: compatibility with strictFunctionTypes
...
Fixes #21160
2017-11-01 15:13:22 +03:00
ohze.net
8a6a758e90
add angular.element(callback) ( #21011 )
...
see document for `ready()` method at https://docs.angularjs.org/api/ng/function/angular.element#angularjs-s-jqlite
2017-10-26 11:46:09 -07:00
Andy
097d2acf71
Miscellaneous lint fixes ( #20849 )
2017-10-22 15:22:50 -07:00
aidandownes
0b0c6b20b0
Update type definition for $injector.invoke to be consistent with angular documentation/code. ( #19886 )
...
- $inject.invoke also accepts optional context and locals agruments when function is an array annotation format.
- Also added tests.
2017-10-16 09:06:56 -07:00
Georgii Dolzhykov
69acc07b23
angular: Better types for HTTP interceptors & response objects ( #19247 )
...
* Better types for HTTP interceptors & response objects
* Fix failing tests
* Don't use TS 2.3 features, staying compatible with 2.1
2017-08-22 22:22:20 +01:00
Andy
1b54a38a43
Fix remaining lint errors ( #19219 )
2017-08-21 14:14:31 -07:00
Andy
5d6c651a1a
Apply stricter lint rules ( #19063 )
2017-08-17 14:53:41 -07:00
Andre Wiggins
d9d3759064
Extend Angular jqLite static interface
2017-06-27 16:01:43 -07:00
Leonard Thieu
d8e10aafad
Merge branch 'master' of https://github.com/DefinitelyTyped/DefinitelyTyped into angular
2017-06-23 09:34:22 -04:00
Nathan Shively-Sanders
fcb37f9fe0
Merge pull request #17281 from kalleguld/master
...
angular: gave a more precise return type for IQService.all()
2017-06-22 14:28:29 -07:00
Leonard Thieu
ec325e9f84
Merge branch 'master' of https://github.com/DefinitelyTyped/DefinitelyTyped into angular
2017-06-21 17:27:57 -04:00
Kasper Guldmann Nielsen
2effeac8f0
angular: gave a more precise return type to $q.all<T>()
2017-06-21 18:53:30 +02:00
Leonard Thieu
8764d0f1ec
[angular] Fix tests.
2017-06-19 20:56:36 -04:00
Leonard Thieu
9e58e7e879
[angular] Remove dependency on @types/jquery.
2017-06-19 14:46:49 -04:00
Nathan Shively-Sanders
37e41d33e4
Deprecate incorrect resolve overload and usage
2017-06-19 09:30:38 -07:00
Nathan Shively-Sanders
18e5e1b05d
Fix angular tests for 2.4's improved generic checking
2017-06-16 10:53:33 -07: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