Commit Graph

169 Commits

Author SHA1 Message Date
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
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
Igor Oleinikov
723b48805e angularjs: fixed resource tests 2013-12-22 17:08:51 +04:00
Masahiro Wakame
f6a49f9442 Merge branch 'master' into switch-0.9.5
Conflicts:
	ember/ember.d.ts
2013-12-18 12:30:03 +09:00
Masahiro Wakame
8711419cbb Merge pull request #1447 from damianog/patch-6
Update angular-scenario.d.ts 'enter' lacks return-type annotation
2013-12-17 18:00:50 -08:00
John Emau
459e286cd0 added syntax highlighting 2013-12-16 19:17:47 -08:00
John Emau
a859e22699 added missing test for resource service factory and updated readme 2013-12-16 19:15:42 -08:00
John Emau
71e23deadd added tests for new angular-resource generics signatures 2013-12-16 19:03:37 -08:00
Jonathan Park
72cc261506 adding invoke inline annotated functions 2013-12-16 17:39:28 -08:00
Jonathan Park
41a7127404 updating angular resource and injector definitions 2013-12-16 17:17:39 -08:00
damianog
0e8a450390 Update angular-scenario.d.ts
'enter' lacks return-type annotation, implicitly has an 'any' return type
2013-12-13 19:49:11 +01:00
Masahiro Wakame
df0f590760 Merge branch 'master' into switch-0.9.5 2013-12-11 11:51:51 +09:00
Masahiro Wakame
ba98843480 Merge pull request #1418 from RomanoLindano/master
Angular scenario typings.
2013-12-10 18:30:51 -08:00
Romano Lindano
0f6f7db51c Angular scenario typings. 2013-12-10 14:56:31 +01:00
Igor Oleinikov
b3e31cb848 angularjs: fixed errors in angular-tests.ts related to switch on TS 0.9.5 2013-12-06 15:15:53 +04:00
Michel Salib
21a7c41386 IProviderService::factory supports also inline annotated functions 2013-11-28 12:57:34 +01:00
Michel Salib
038f6bcb64 IServiceProvider::$get can be array or function 2013-11-27 22:27:42 +01:00
Michel Salib
a59d261c8d Angular IServiceProvider::$get is injected
Actually the $get function is called via invoke.
2013-11-27 15:06:38 +01:00
Basarat Ali Syed
20655ae164 to kickoff nuget build 2013-11-20 11:42:55 +11:00
Ben Turner
62c4df6fcd Fix typo in comments
defile => define
2013-11-20 10:01:52 +11:00
basarat
9590d1e8f5 fixed path issues in 1.0 files. Verified that angular-scenario is still a part of angular dist : http://code.angularjs.org/1.2.1/ so left it inside angularjs folder 2013-11-19 21:46:01 +11:00
Basarat Syed
dfba1ce255 moved angular 1.0 and angular-scenario files to legacy folder 2013-11-19 17:34:55 +11:00
Basarat Ali Syed
40b93ee4a9 Merge pull request #1284 from vvakame/add-find-not-required-tscparams
infrastructure: remove not required tscparam files
2013-11-18 21:59:48 -08:00
Masahiro Wakame
1b28c3344b Removed not required .tscparams 2013-11-19 13:56:28 +09:00
John Emau
10603d7cec fix readme clean up missed in merge 2013-11-18 15:39:15 -08:00