Commit Graph

10 Commits

Author SHA1 Message Date
Martin Probst
970fc9d484 Angular IPromise interop with platform Promise.
Angular promises support `.then()` chaining of functions that return
arbitrary `then()`able values.
    https://docs.angularjs.org/api/ng/service/$q#the-promise-api

This change updates the definition of `ng.IPromise.then()` to match that
by overloading the function to handle `PromiseLike` values.
2019-02-06 14:08:06 +01:00
Andy Hanson
45c9246c09 Remove esModuleInterop from tsconfigs (no longer mandatory) 2018-02-14 14:55:13 -08:00
Andy
bef4d2b27d
Enable "esModuleInterop" in all tsconfigs (#23354) 2018-02-05 11:01:56 -08:00
Georgii Dolzhykov
44e215bda7 AngularJS: compatibility with strictFunctionTypes
Fixes #21160
2017-11-01 15:13:22 +03:00
Andy
947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Leonard Thieu
351589d38d [angular] Add index signature to JQLite. (#18767) 2017-08-14 11:28:41 -07:00
Leonard Thieu
b7f084da26 [angular] Add @types/jquery@3 integration tests. 2017-06-21 18:07:02 -04:00
Leonard Thieu
30922ed80a [angular] Change lib 'es6' to 'es5'. 2017-06-19 15:39:48 -04:00
Leonard Thieu
9e58e7e879 [angular] Remove dependency on @types/jquery. 2017-06-19 14:46:49 -04:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00