Masahiro Wakame
b2526eb8ab
Merge pull request #2205 from dmitri-gb/patch-1
...
Update angular.d.ts
2014-05-20 16:52:14 +09:00
dmitri-gb
25fe7f0a13
Fix method signature in angular.d.ts
2014-05-17 17:27:27 +03:00
dmitri-gb
ca93622f0a
Update angular.d.ts
...
Add aHrefSanitizationWhitelist and imgSrcSanitizationWhitelist to ICompileService
2014-05-17 16:57:37 +03:00
damianog
248ce05b59
Update angular.d.ts missing statusText property
...
On IHttpPromiseCallbackArg added missing statusText property.
From angular's API
data – {string|Object} – The response body transformed with the transform functions.
status – {number} – HTTP status code of the response.
headers – {function([headerName])} – Header getter function.
config – {Object} – The configuration object that was used to generate the request.
statusText – {string} – HTTP status text of the response.
2014-05-14 11:51:29 +02:00
Masahiro Wakame
c2742055f6
Merge pull request #2005 from miffels/master
...
Enhanced call interface definitions
2014-05-08 18:02:55 +09:00
DamianEdwards
e7308ef0ff
Added definition in Angular for $logProvider (ILogProvider)
...
- #1787
2014-05-05 14:19:38 -07:00
Basarat Ali Syed
a821755ea0
Update angular.d.ts
...
closes #2028
2014-04-12 21:26:10 +10:00
miffels
1efaca2279
Fixing array call promise inconsistency (thanks @jackdolabany) and adding tests
2014-04-08 19:47:20 +02:00
Aidiakapi
cbdaec6beb
fix(angularjs): make Function.$inject optional
...
The $inject member of the global Function interface should be optional, to be consistent with actual functions.
2014-04-08 17:32:00 +02:00
miffels
fffce8af7d
Simplifying instance API and adding some explanatory comments
2014-04-08 14:15:34 +02:00
miffels
f037b84665
Fixing array interface and tests and adding humble co-author note
2014-04-08 13:46:34 +02:00
miffels
d98910416f
Adjusting type angular.resource type definitions and tests to better reflect actual interface (particularly promises)
2014-04-08 12:05:23 +02:00
Masahiro Wakame
3de1c2c20e
Merge pull request #1875 from scottmcarthur/patch-2
...
angular.d.ts IDocumentService extends IAugmentedJQuery
2014-03-19 19:42:16 +09:00
Scott McArthur
b6a08def3b
angular.d.ts IDocumentService extends IAugmentedJQuery
...
Updated IDocumentService to extend IAugmentedJQuery rather than Document. As per the API (http://docs.angularjs.org/api/ng.$document ) it provides "A jQuery or jqLite wrapper for the browser's window.document object."
2014-03-18 22:36:53 +00:00
Scott McArthur
f8d7eee419
Added new() to IResourceClass
...
Added `new(dataOrParams? : any) : T;` to `IResourceClass<T>` to allow creation of a new instance of the resource using the `new` keyword, which is required to create a new resource object of type `T`.
In the [AngularJS documentation example](http://docs.angularjs.org/api/ngResource/service/$resource ) this change would allow for line 27 `new CreditCard({number:'0123'});` where `CreditCard` is `IResourceClass<CreditCard>`. Without this change we get `error TS2083: Invalid 'new' expression.` when new-ing the resource.
2014-03-16 17:15:47 +00:00
unknown
e7396efb0c
Change my tabs to spaces
2014-03-14 11:19:32 -04:00
unknown
bd9d835aa7
Fix $q.when definition
2014-03-14 11:13:07 -04:00
Alex Puchkov
ec9eac3e8b
Fix angularjs/angular-route.d.ts
...
IRoute.caseInsensitiveMatch was missing
2014-02-27 11:22:04 -05:00
satoru kimura
3747c3ba05
fix angularjs/angular-resource.d.ts for typescript 0.9.7.
2014-02-27 12:31:50 +09:00
Masahiro Wakame
859d88a644
Merge pull request #1687 from michelsalib/angular-animate
...
Adding angular $animate definition
2014-02-18 11:39:14 +09:00
Scott McArthur
4d64913cdb
angular.d.ts Annotated spelt incorrectly
...
Fixed spelling mistake in parameter names. Changed all occurrences of `Annotaded` to `Annotated`
2014-02-15 20:37:05 +00:00
scottmcarthur
1195fc6b5e
Added $promise & $resolved properties
...
[ngResource.$resource](http://docs.angularjs.org/api/ngResource.$resource ) defines a `$promise` property and a `$resolve` property on the Resource.
2014-02-15 09:06:02 +00:00
Michel Salib
59263e826b
Add missing return types
2014-02-12 15:55:41 +01:00
Michel Salib
62f9fa8fda
Adding angular $animate definition
2014-02-12 14:50:21 +01:00
Michel Salib
e4f5bd3738
Add some definitions to angular scenario
2014-02-07 11:17:24 +01:00
Matt Jibson
5b07c2c85e
Correct ICustomScope reference
2014-01-31 16:37:56 -05:00
Basarat Ali Syed
a981700446
Merge pull request #1650 from JohnKurlak/master
...
Added has() method to ng.auto.IInjectorService
2014-01-31 04:49:10 -08:00
basarat
7ddbd98419
angularjs revert marking arguments for link function as optional
2014-01-31 23:45:44 +11:00
John Kurlak
05ec01901c
Added has() method to auto.IInjectorService
...
Angular added the has() method to $injector in version 1.2 (see: https://github.com/angular/angular.js/blob/g3_v1_2/src/auto/injector.js )
2014-01-30 11:30:35 -08:00
Michael Cox
0645d5c6f5
AngularJS: make IDirective.link() arguments optional
2014-01-27 16:52:01 +00:00
Michael Cox
2806d81cae
AngularJS: Added promise hash signature to .all()
2014-01-27 14:22:51 +00:00
Bart van der Schoor
5263434c20
added/fixed few headers
...
https://github.com/borisyankov/DefinitelyTyped/issues/1570
cleaned up some more, mostly urls and typos
2014-01-25 01:08:33 +01:00
Michel Salib
9f86b20f3e
Angular IModule::provider can accept a provider object as second argument
2014-01-17 15:40:23 +01:00
Basarat Syed
7a44f44079
Revert "added promise chaining for http"
...
This reverts commit ef8d6d25e8 . Needs more tests
2014-01-15 16:47:45 +11:00
Basarat Ali Syed
ef8d6d25e8
added promise chaining for http
...
the type of variable num in below sample was not detected without this signature.
```
var $http: ng.IHttpService;
declare function foo(): ng.IHttpPromise<number>;
declare function bar(): ng.IHttpPromise<string>;
$http.get('asdfsadf').then((resp) => foo()).then((bla) => bla.data).then((num) => num);
```
2014-01-15 16:25:09 +11:00
vvakame
be2633af53
Remove angularjs/angular-tests.ts.tscparams
2014-01-11 23:09:19 +09:00
jraymakers
f2afd8de95
angular: split ITranscludeFunction out of ITemplateLinkingFunction
2014-01-10 12:44:41 -08:00
jraymakers
90cf96b451
update optionality of arguments to ITemplateLinkingFunction
2014-01-09 16:01:48 -08:00
jraymakers
9ea31ba6c7
Merge remote-tracking branch 'upstream/master'
2014-01-08 09:49:17 -08:00
Semigradsky
1edf9b0d12
Restored part of file
2014-01-08 11:03:16 +03:00
jraymakers
6b7922e7e8
Merge remote-tracking branch 'upstream/master'
2014-01-07 22:32:27 -08:00
jraymakers
75357ab810
add missing semicolon in ICloneAttachFunction
2014-01-07 22:22:33 -08:00
jraymakers
ad7b08921b
remove unnecessary comment in ITemplateLinkingFunction
2014-01-07 21:08:18 -08:00
jraymakers
3a82c7c52c
add ? to scope in ITemplateLinkingFunction
2014-01-07 18:24:52 -08:00
Basarat Ali Syed
fb975ef47c
update angular version in comment
2014-01-08 12:57:44 +11:00
jraymakers
aea6e0dab3
support optional scope on ITemplateLinkingFunction
2014-01-07 15:59:44 -08:00
Masahiro Wakame
bf8fc6fe38
Merge pull request #1493 from xt0rted/patch-2
...
angularjs: Add $parseProvider
2014-01-05 03:15:39 -08:00
vvakame
6ab4ffae2b
Remove not required tscparams
2014-01-02 16:34:52 +09:00
Brian Surowiec
ad4009b296
angularjs: Add $parseProvider
2014-01-02 00:47:37 -05:00
Igor Oleinikov
f4a56aea3f
angularjs: fixed another error in resource tests
2013-12-23 03:46:41 +04:00