Commit Graph
258 Commits
Author SHA1 Message Date
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
John Emau a5f133ec4f updating angular readme with new example of using angular resource definitions
Conflicts:
	angularjs/README.md
2013-11-18 15:36:26 -08:00
Basarat Ali Syed 2dbd46d87f angular : $http timeout can be number or promise
reference : https://github.com/angular/angular.js/issues/1159#issuecomment-19043323
2013-11-18 15:17:53 +11:00
John Emau 04c609c2a0 adding tests for angular sanitize 2013-11-13 15:38:47 -08:00
John Emau 54daea88b9 adding linky filter to ngSanitize 2013-11-13 14:28:12 -08:00
basarat b6d875402f Catch and finally 2013-11-13 19:46:46 +11:00
basarat ba8c8ffdf7 No unwrapping for notify callback (ofcourse) 2013-11-13 19:37:34 +11:00
basarat 12b39a17a0 For #1258 2013-11-13 17:39:09 +11:00
Michel Salib 079dfe6e92 Add missing angular scenario function
Added iit, xit and ddescribe.
2013-11-12 10:56:40 +01:00
John Emau 003030c295 Merge branch 'borisyankov-definitelytyped-master' into updating-angular-resource
Conflicts:
	angularjs/angular-resource-tests.ts
2013-11-11 12:52:38 -08:00
John Emau 9ad3c8740a removed IActionCall and changed query method to return an IResource array
Conflicts:
	angularjs/angular-resource-tests.ts
2013-11-11 09:58:41 -08:00
RupertAvery 16f8fd18dd SCE Services and Providers 2013-11-10 19:47:22 +08:00