Commit Graph
67 Commits
Author SHA1 Message Date
Adi Dahiya 23fa2dbebe Fix angular IAttributes#$normalize() definition 2015-10-06 13:08:22 -04:00
Masahiro Wakame 8c7a7d07c9 Merge pull request #6048 from marcogrcr/fix-angular-promises
Fixed angularjs promises then signature.
2015-10-06 23:26:42 +09:00
vvakame fd5384af52 Merge branch 'angular.bootstrap' of https://github.com/thorn0/DefinitelyTyped into thorn0-angular.bootstrap 2015-10-06 21:25:02 +09:00
vvakame e9d73404c1 Merge branch 'angularjs-filter-service' of https://github.com/use-strict/DefinitelyTyped into use-strict-angularjs-filter-service 2015-10-06 21:18:48 +09:00
Masahiro Wakame 8d944280d5 Merge pull request #6037 from eugenpodaru/master
Fix to IFilterPredicateFunc<T>
2015-10-06 21:11:09 +09:00
Marco Gonzalez 419ee258a9 Merge branch 'master' into fix-angular-promises
Conflicts:
	angularjs/angular-tests.ts
2015-10-05 11:10:36 -06:00
Masahiro Wakame bd1a814ded Merge pull request #6049 from marcogrcr/add-qservice-when-method
Added resolve method to angular.IQService.
2015-10-06 01:49:04 +09:00
thorn0 1137ef6d10 AngularJS: Fix the signature for angular.bootstrap
see https://code.angularjs.org/1.4.0/docs/api/ng/function/angular.bootstrap
2015-10-01 23:41:36 +03:00
Marco Gonzalez fe917d27e9 Added resolve method to angular.IQService. 2015-09-28 21:00:52 -06:00
Marco Gonzalez 43e1df30c9 Fixed angularjs promises then signature. 2015-09-28 20:02:56 -06:00
Alexandru Ciuca 221575e982 angularjs - Added some special filter use cases to tests 2015-09-28 18:06:11 +03:00
Eugen Podaru 492c22b176 Fix the tests to comply with the interface 2015-09-28 15:30:05 +02:00
Shahar TalmiandShahar Talmi ac1292d9fc Add missing literal/constant properties in ICompiledExpression
As documented in https://docs.angularjs.org/api/ng/service/$parse
2015-09-28 01:34:30 +03:00
Ciuca, Alexandru 21c2982f94 angularjs - fix signatures for filter service 2015-09-22 14:21:29 +03:00
Ciuca, Alexandru d0a264d5ff angularjs - better granularity for filter service parameter types 2015-09-14 17:12:44 +03:00
Masahiro Wakame f559d0cbfc Merge pull request #5536 from deadalusai/fix-finally-signature
angularjs: Fix the finally method type signature
2015-08-26 02:12:08 +09:00
Benjamin Fox fd7399b3fd Fix the finally method type signature
The finally method does not change the type of the returned promise -
instead the original promise value is passed through unchanged.
2015-08-25 09:58:04 +12:00
Ilya Mochalov 111be145ae angularjs: changed $q signature 2015-08-25 02:24:01 +05:00
Masahiro Wakame e6b5bb92b3 Merge pull request #5321 from chrootsu/angularjs-deferred-tests
angularjs: added Deferred tests
2015-08-21 21:36:28 +09:00
Ilya Mochalov 7652914a5b angularjs: changed $timeout signature, added tests 2015-08-20 01:40:24 +05:00
Ilya Mochalov 68b97ecc7d angularjs: added Deferred tests 2015-08-20 01:39:57 +05:00
Ilya Mochalov d9b84213f2 angularjs: added $q tests 2015-08-18 19:46:11 +05:00
Ilya Mochalov 18c24780e3 angularjs: added Promise tests 2015-08-13 22:03:20 +05:00
Ilya Mochalov fcc892bba5 angularjs: changed $q.all() (added a type variable and tests) 2015-08-07 23:36:27 +05:00
Ciuca, Alexandru 3e2a590f8f angularjs - Switched any to generics for type safety.
See https://github.com/Microsoft/TypeScript/issues/4126
2015-08-04 10:57:41 +03:00
unknown 146e3fbff1 angularjs - Added $normalize to IAttributes 2015-07-09 12:01:43 +02:00
Bill Chen 8c64199797 Made the signature of INgModelController.$validators more precise and
corrected the return type of $asyncValidators

Tests included.
2015-06-09 17:21:58 +01:00
Dmitry V. Abuzyarov 3e6f6339a5 Add Decorator definition to IModule 2015-05-31 15:02:01 +03:00
Paulo Cesar eb3420c93c update angular to released version 1.3+ 2014-11-12 01:57:38 -02:00
vvakame 7252edb0ec fix broken test 2014-10-27 11:26:08 +09:00
vvakame 0efa290ca6 update angular.d.ts 2014-10-27 11:22:46 +09:00
johnnyreilly 4553fe17eb .search now allows number for paramValue 2014-09-05 14:03:19 +01:00
John Reilly 17b7b270f5 Tightened up the ILocationService typings a little 2014-08-22 17:07:11 +01:00
John Reilly 639aa3c14d Made tests noImplicitAny compliant 2014-08-22 12:14:55 +01:00
John Reilly 1b247dd0c7 AngularJS: Genericised angular.copy and added JSDoc 2014-08-22 12:09:25 +01:00
Paulo Cesar 82447ac010 squash! fix tabs
directive interface definition and tests
2014-08-08 12:24:43 -03:00
Paulo Cesar f1a45e0d4e directive accept classes 2014-08-05 21:44:37 -03:00
John Reilly 86d681f289 Fix test 2014-07-29 11:26:06 +01:00
John Reilly 68a3cb2875 Fix test 2014-07-29 11:21:28 +01:00
John Reilly 22894235a2 Add genericised forEach and indexer for FormController 2014-07-29 11:08:28 +01:00
vvakame c322a99ff4 add test for angular.d.ts 2014-07-24 23:07:06 +09:00
vvakame 1ef19827ea Merge branch 'patch-2' of github.com:ngbrown/DefinitelyTyped into ngbrown-patch-2 2014-07-24 22:52:43 +09:00
Tobias Bengfort ba1b3d7d60 Fixup 2014-07-23 14:08:31 +02:00
Tobias Bengfort 625b9f2523 Fixup 2014-07-21 15:33:31 +02:00
Tobias Bengfort fe47b495c8 angularjs: allow $q.when to be called w/o args
The current definition does not cover the case that the input type is
void.
2014-07-21 11:16:24 +02:00
Herbert Poul e839251ce9 Changed order of IHttpPromise.then for promise chaining
previously the following code resulted in tmp beeing of type:
ng.IPromise<ng.IPromise<{}>> but it should be just ng.IPromise<{}>:

var tmp = this.$http.get('').then((result) => this.$q.defer().promise);
2014-07-02 18:17:13 +02:00
Greg Smith 666233c5a0 angular: Add isolateScope() to jqLite 2014-06-20 10:56:38 -05:00
Nathan Brown 72b9fbed7f angular.d.ts: update test to use class for module
Converted the test module, 'http-auth-interceptor', to a class to
eliminate error on using anonymous type constructor.
2014-06-18 19:55:32 -07:00
John Reilly 2e030fa8c4 Added typing to IHttpService 2014-06-02 14:13:54 +01:00
Ryan Cavanaugh 8959bcdc71 Manually specify generic type parameter so return expression types match 2014-05-21 14:25:49 -07:00