Commit Graph

201 Commits

Author SHA1 Message Date
Masahiro Wakame
e7ef7d3204 Merge pull request #4116 from xi/fix-angular-headers
Fix IHttpPromiseCallbackArg.headers type
2015-04-15 23:58:38 +09:00
Tobias Bengfort
b01692175b Fix IHttpPromiseCallbackArg.headers type 2015-04-15 11:44:24 +02:00
Henrik Huttunen
2fc34672e8 reference angular module using prefix "angular", not "ng" 2015-04-15 11:05:40 +03:00
Matt Podsiadlo
dc17c1cf2f Added a definition for IBrowserService.defer 2015-04-13 10:52:41 +02:00
Basarat Ali Syed
02a93db66a Merge pull request #3987 from rafw87/angularjs
Update angular.d.ts - Fix for $q.all() method
2015-03-31 09:48:17 +11:00
Ricardo Franco
cfb41c331e fix missing module 'ng' 2015-03-30 18:17:40 -03:00
rafw87
7c0ed32587 Update angular.d.ts
$q.all() - separate overloads for array and hash version
2015-03-29 00:48:59 +01:00
vvakame
96b97cf462 add html5mode definitions on ILocationProvider 2015-03-21 01:24:23 +09:00
Basarat Ali Syed
adf8ebbcce angular: another attempt for 1.4 2015-03-12 11:16:23 +11:00
Basarat Ali Syed
779fcd5d77 angular: deprecate ng 2015-03-12 11:10:14 +11:00
Basarat Ali Syed
d13c42ba67 angular: import should bring in the type information as well
closes https://github.com/borisyankov/DefinitelyTyped/issues/3670
closes https://github.com/borisyankov/DefinitelyTyped/pull/3714
2015-03-12 10:47:32 +11:00
André Werlang
13d8727de0 Define patch() on $http 2015-03-11 08:43:49 -03:00
Masahiro Wakame
bb20f0a1f7 Merge pull request #3799 from henkosch/master
Fixed link definition on IDirective with union type
2015-03-05 23:14:05 +09:00
Schnell Henrik
235f7734ec Fixed link definition on IDirective with union type IDirectiveLinkFn | IDirectivePrePost. 2015-03-05 11:22:09 +01:00
Nathan Brown
d779349a3e Update angular.d.ts to fix IHttpPromise.
IHttpPromise<T> does not extend IPromise<T> directly.  It always transforms it with the response (of type T) as the `data` member.  See $httpProvider.$http.sendRec.resolvePromise(response, status, headers, statusText).  This matters when exploiting the inheritance to IPromise (for example in a return).
2015-03-03 15:50:12 -07:00
jayoungers
561b5a075e ICacheObject.put and IAnimateService.addClass Return Types
Updating ICacheObject.put return type to the type of object passed in (opposed to just void):
https://docs.angularjs.org/api/ng/type/$cacheFactory.Cache

Updating IAnimateService.addClass to return the type IPromise<any> (opposed to just void):
https://docs.angularjs.org/api/ngAnimate/service/$animate
2015-02-25 13:54:14 -06:00
Jukka Hyvärinen
8c30472a68 indentation 2015-02-10 14:06:32 +02:00
Jukka Hyvärinen
01d3cc0458 Added IRepeatScope 2015-02-10 12:52:51 +02:00
John Reilly
ffdb69f0e1 Remove overloads using Union Types 2015-01-19 16:07:20 +00:00
Stanley Goldman
b1f314ebbc Adding withCredentials to IHttpProviderDefaults 2014-12-24 12:48:29 -05:00
Nathan Brown
3461cb93a6 Update angular.d.ts comment with typo fix. 2014-12-04 12:05:46 -07:00
Xiot
d29a12401a Changed IQPromise.reject to return IPromise<any> instead of IPromise<void> to be better compatible with most likely use cases. 2014-11-17 22:40:23 -05:00
Paulo Cesar
5ab1bd4840 squash! squash! update angular to released version 1.3+
interval delay isnt optional
2014-11-12 08:30:07 -02:00
Paulo Cesar
91ea0ef4ce squash! update angular to released version 1.3+
undo optionals
2014-11-12 06:04:00 -02:00
Paulo Cesar
eb3420c93c update angular to released version 1.3+ 2014-11-12 01:57:38 -02:00
Xiaohan Zhang
5868972ea7 Add applyAsync to IRootScopeService 2014-11-03 13:37:12 -08:00
Mackay, John
f41b28ef4b Adding Angular 1.3's 'bindToController' directive property 2014-10-29 14:26:14 -07:00
vvakame
0efa290ca6 update angular.d.ts 2014-10-27 11:22:46 +09:00
Matthias Fischmann
d325c983f9 headers function in http promise callbacks: passing no name arg returns entire headers object. 2014-10-22 14:25:15 +02:00
PaloMraz
3230867979 Fixed angular.version.codeName casing
codename property renamed to correct codeName.
2014-10-17 10:58:15 +02:00
Masahiro Wakame
39aafd266d Merge pull request #2962 from 5angel/patch-1
overload for element.controller
2014-10-14 11:13:47 +09:00
Masahiro Wakame
7bf3733877 Merge pull request #2936 from adidahiya/angular
Update angularjs $animate and $animateProvider definitions
2014-10-14 10:30:13 +09:00
5angel
24c9d362f2 overload for element.controller 2014-10-13 16:59:32 +04:00
Martin McWhorter
76e1eb7179 $setPristine() INgModelController
Doc reference:

https://code.angularjs.org/1.2.26/docs/api/ng/type/ngModel.NgModelController
2014-10-08 11:05:53 +01:00
Adi Dahiya
05432c972c Add return type to register fn in $animateProvider 2014-10-08 00:01:10 -04:00
Adi Dahiya
69ec24c5e9 Add default $animateProvider in angular.d.ts 2014-10-07 23:56:38 -04:00
Stephen Feest
4d33523877 Added typings for $templateRequest service 2014-10-01 15:42:32 +01:00
nojaf
08f69c570e updated $asyncValidators 2014-09-07 10:41:09 +02:00
johnnyreilly
4553fe17eb .search now allows number for paramValue 2014-09-05 14:03:19 +01:00
Masahiro Wakame
e710ffb049 Merge pull request #2763 from nojaf/patch-1
Added $asyncValidators
2014-09-05 11:17:14 +09:00
Basarat Ali Syed
2167630b2a Argument to eval and evalAsync are optional
Reference : https://github.com/angular/angular.js/pull/8558
2014-09-04 09:50:18 +10:00
Florian Verdonck
7affe8e6ed Added $asyncValidators
Check https://docs.angularjs.org/api/ng/type/ngModel.NgModelController#$asyncValidators
2014-09-02 22:35:22 +02:00
John Reilly
7dbb5b99ec AngularJS: JSDoc 2014-08-27 14:12:40 +01:00
John Reilly
b3d24088bc AngularJS: JSDoc 2014-08-27 14:10:09 +01:00
John Reilly
17b7b270f5 Tightened up the ILocationService typings a little 2014-08-22 17:07:11 +01:00
John Reilly
1b247dd0c7 AngularJS: Genericised angular.copy and added JSDoc 2014-08-22 12:09:25 +01:00
Paulo Cesar
ee3b10e2b0 $id is a number on 1.3 2014-08-22 06:11:30 -03:00
Paulo Cesar
db5232d423 squash! prepare for angular 1.3
add legacy for version 1.2 and move test files
2014-08-19 22:08:36 -03:00
Paulo Cesar
e49b7e4223 prepare for angular 1.3 2014-08-19 03:03:59 -03:00
basarat
16dffed6f3 angular: $scope extends $rootScope. closes #2593 2014-08-10 20:59:13 +10:00