rgvassar
41d21c491c
angular-animate
...
Added the on, off, and pin methods to the IAnimateService interface.
2016-03-02 10:25:09 -08:00
Matthew Hill
c2ae01b0b4
adds strictDi to angular.auto.IInjectorService
2016-03-02 14:37:48 +00:00
John Reilly
49a2473350
Update angular.d.ts
...
Added JSDoc for documented service methods
2016-03-01 13:52:51 +00:00
Michal Miszczyszyn
65347efe70
Update AngularJS to 1.5
2016-02-20 21:54:16 +01:00
Masahiro Wakame
9c6c494692
Merge pull request #8036 from alextkachman/master
...
angular.IRoute.controller can be defined as array
2016-02-17 20:54:35 +09:00
vvakame
4de74cb527
normalize line ending (CRLF -> LF)
2016-02-16 01:20:30 +09:00
Masahiro Wakame
148cdb0434
Merge pull request #8006 from hheexx/master
...
Fixes typing for 1.5.0 components and tightens typings for directives
2016-02-15 22:58:46 +09:00
Boris Prpic
1c4a34873c
Component controller can be array
...
angular.module(.....).component("componentName", {
controller: ["$rootScope",function($rootScope) {
}],
template: ....
}
2016-02-13 21:54:57 +01:00
Boris Prpic
7677a9f3aa
Update angular.d.ts
2016-02-13 02:30:12 +01:00
Damiano
824761509f
Missing "require" property on IComponentOptions
...
Added missing require property on IComponentOptions
2016-02-12 23:27:38 +01:00
Ugaitz Urien
ea3fcdda9e
Controller field in a component can accept string, function or an array with parameters an function ["service1","service2", ControllerFunction]
2016-02-11 16:03:23 +01:00
Alex Tkachman
80c19345b8
angular.IRoute.controller can be defined as array
2016-02-11 10:14:09 +02:00
vvakame
9027703c0b
pass npm run all in new definition-tester
2016-02-10 00:16:03 +09:00
Boris Prpic
f8e2d6025e
Fixes require again
2016-02-08 00:04:14 +01:00
Boris Prpic
119c65b311
Fixed require
...
In component require works different from directive.
Now its Object
2016-02-08 00:00:17 +01:00
Boris Prpic
7b8b362742
Updates IComponentOptions for angular 1.5 components
...
As per https://docs.angularjs.org/guide/component
components does not support restrict or isolate but they do require
2016-02-07 21:11:51 +01:00
Masahiro Wakame
17ef404520
Merge pull request #7967 from jarnova/master
...
modified IDeferred resolve method to allow passing a promise of type …
2016-02-07 01:44:34 +09:00
Jarno Välkki
94095ef4ee
modified IDeferred resolve method to allow passing a promise of type T so a deferred can be resolved with a promise
2016-02-04 16:01:35 +02:00
romiem
c6ab786741
Update angular.d.ts
...
If splitting the config into seperate files, this constructor overload is useful. For example, you might need a RoutesConfig.ts file.
#### Example
##### RoutesConfig.ts
```
export class RoutesConfig {
static $inject = ['$stateProvider', '$urlRouterProvider', '$locationProvider'];
constructor (private $stateProvider: angular.ui.IStateProvider, private $urlRouterProvider: angular.ui.IUrlRouterProvider, private $locationProvider: ng.ILocationProvider) {
// Unmatched URLs, redirect to root
$urlRouterProvider.otherwise('/block');
$stateProvider
.state('home', {
url: '/',
template: '<route-home></route-home>'
});
$locationProvider.html5Mode(true);
}
}
```
##### Main.ts
```
import {RoutesConfig} from './common/RoutesConfig';
angular.module('myApp', [])
.config(RoutesConfig)
```
2016-02-02 16:22:59 +00:00
Masahiro Wakame
2dd31c6a7c
Merge pull request #7680 from RafaelMalgor/master
...
Inline annotated function support added to service method on IProvideService
2016-01-24 00:25:40 +09:00
unknown
3bebbe1bae
Inline annotated function support added to service method on IProvideService\
2016-01-18 16:32:28 -03:00
David Reher
046e0e85d0
accidently copied the default value :/
2016-01-15 22:52:08 +01:00
David Reher
a71a912ada
added missing properties to Instruction interface in angular-component-router
2016-01-15 22:38:55 +01:00
David Reher
739b784dae
Merge remote-tracking branch 'upstream/master' into angular-component-router
...
Conflicts:
angularjs/angular.d.ts
2015-12-30 11:54:44 +01:00
David Reher
f7e1375583
added controller interfaces and test file
2015-12-23 13:11:57 +01:00
David Reher
fa3a82e87f
AngularJS: add initial support for component router
2015-12-23 12:58:14 +01:00
Tushar Sonawane
f3eb60e55a
updating angular.component type as per doc
2015-12-23 15:47:37 +05:30
Masahiro Wakame
40a4a39840
Merge pull request #7222 from andrejunges/master
...
Add support to .component from Angularjs 1.5
2015-12-23 15:27:03 +09:00
Masahiro Wakame
621f12c660
Merge pull request #7206 from martinmcwhorter/master
...
Add commonJS support to angular-resource <eom>
2015-12-23 15:11:58 +09:00
André Junges
c7f2c23618
Add support to .component from Angularjs 1.5
2015-12-15 23:00:36 -02:00
Martin McWhorter
09fa17a56f
Add commonJS support to angular-resource
2015-12-15 10:40:04 +00:00
Sagar Vadodaria
cf172aab99
added missing property
...
As per AngularJs Documentation,
(https://docs.angularjs.org/api/ngRoute/provider/$routeProvider ) ,
$routeProvider has a property as well. caseInsensitiveMatch , which can
be used to turn off the case sensitive match globally.
2015-12-15 14:39:20 +05:30
Masahiro Wakame
a3aa7a28ac
Merge pull request #7071 from KhodeN/patch-7
...
Update angular-resource.d.ts
2015-12-12 23:56:57 +09:00
darktutu
0a0cadd853
directive compile can return a function whit void
...
IDirective
2015-12-11 18:10:11 +08:00
Artem Berezin
79e875c956
Update angular-resource.d.ts
2015-12-11 11:13:32 +09:00
Masahiro Wakame
771f9ab781
Merge pull request #7034 from Brooooooklyn/issue/angular-resource
...
fix(angularjs): add toJSON method
2015-12-10 21:21:22 +09:00
Artem Berezin
fad091f943
Update angular-resource.d.ts
...
fix IResourceArray. It is of array of IResource<T>, not array of just T
2015-12-06 17:45:33 +09:00
Valentyn Shybanov
7610dacad2
Added return type of updateParams
...
Added required return type of updateParams
2015-12-04 13:36:19 +01:00
Valentyn Shybanov
380e701b39
Added missing updateParams method
...
According to documentation, `updateParams` method existed even in 1.3 but it was missing in `IRouteService`. Added this missing method.
2015-12-04 13:31:52 +01:00
Long Yinan
0ab253f326
fix(angularjs): add toJSON method
2015-12-03 14:48:27 +08:00
Masahiro Wakame
d633cdaf3b
Merge pull request #6953 from shlomiassaf/patch-1
...
Add resumeBootstrap to IAngularStatic
2015-12-01 22:41:34 +09:00
Shlomi Assaf
3efcdc3034
Add resumeBootstrap to IAngularStatic
2015-11-26 12:37:27 +02:00
Frode Egeland
c1f48f0958
Fix: IIntervalService missing optional function arguments
...
IIntervalService can take arguments to be passed to the function (`[Pass]`):
> $interval(fn, delay, [count], [invokeApply], [Pass]);
This adds this to the definition.
2015-11-24 11:07:51 +09:00
Masahiro Wakame
b2ce7b18d7
Merge pull request #6747 from vonderheide/master
...
Fix type of argument 'expression' of IFilterOrderBy to allow mixing functions and strings
2015-11-16 23:31:25 +09:00
Jens Vonderheide
58add5e554
Fix type of argument 'expression' of IFilterOrderBy to allow mixing functions
...
and strings
2015-11-13 14:37:32 +01:00
Konrad Cerny
1c1f9f790e
Added missing templateNamespace to ng.IDirective interface
2015-11-11 15:57:10 +01:00
David Lloyd
645583cb78
"Bellow [sic]" should be "Below".
...
Typo.
2015-11-08 12:32:48 +10:30
vvakame
f51a6db4cb
fix invalid headers
2015-11-07 01:56:36 +09:00
vvakame
622dad055a
fix angularjs/angular-resource.d.ts
2015-11-03 00:54:33 +09:00
Masahiro Wakame
598776669d
Merge pull request #6308 from dnemoga/master
...
Update `IActionDescriptor` accordingly to official documentation
2015-11-03 00:00:20 +09:00
Masahiro Wakame
b63b307ee0
Merge pull request #6422 from suvjunmd/typo
...
Fixed typo
2015-10-27 00:54:45 +09:00
Dmitri Suvorov
3c26c6546f
Fixed typo
2015-10-24 15:53:16 +03:00
Matthew Brown
5a66ad6d59
Correct Misspelled "IHttpRequestTransformer".
...
Was IHttpResquestTransformer.
2015-10-23 11:23:03 -04:00
Dmytro Nemoga
45fc24faad
Update IActionDescriptor accordingly to official documentation
2015-10-15 19:10:37 +03:00
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
Masahiro Wakame
7ed11dd40a
Merge pull request #6164 from thorn0/angular.bootstrap
...
AngularJS: support calling angular.bootstrap on the document
2015-10-06 23:24:06 +09:00
thorn0
308f2c22ba
AngularJS: support calling angular.bootstrap on the document
2015-10-06 15:47:35 +03: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
Eugen Podaru
8b88d55ef1
Changed IFilterPredicateFunc<T> to return boolean instead of T[] as per angular docs ( https://docs.angularjs.org/api/ng/filter/filter )
2015-09-28 15:13:49 +02:00
Shahar 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
Masahiro Wakame
9128dfc748
Merge pull request #5669 from use-strict/master
...
angular.d.ts - type safety for $controller
2015-09-27 12:19:09 +09:00
Masahiro Wakame
6461dc8b7f
Merge pull request #5919 from mif007/mif007-IAnimationService-patch
...
change IAnimateService methods signature
2015-09-27 10:46:58 +09:00
Masahiro Wakame
7a9851997b
Merge pull request #5903 from stephenlautier/angular-cookies
...
angular-cookies - added options + minor improvements
2015-09-27 10:41:36 +09:00
Ciuca, Alexandru
21c2982f94
angularjs - fix signatures for filter service
2015-09-22 14:21:29 +03:00
Ciuca, Alexandru
e09aee6389
Merge remote-tracking branch 'upstream/master'
2015-09-22 10:36:20 +03:00
unknown
8302f8f839
Remove IAnimateService in angular.d.ts
2015-09-21 08:56:07 +05:00
Stephen Lautier
ccd32787a2
wrapped comments around 80-100 chars as suggested
2015-09-20 17:46:57 +02:00
Vyacheslav Mostovoy
c28d8e3fa2
change IAnimateService methods signature
2015-09-20 10:20:30 +05:00
Masahiro Wakame
062cd11410
Merge pull request #5814 from use-strict/angularjs-filter-service
...
angularjs - better granularity for filter service parameter types
2015-09-20 14:06:27 +09:00
Stephen Lautier
8b6c5fc20e
angular-cookies - added options + minor improvements
2015-09-18 21:23:42 +02:00
Ciuca, Alexandru
168a3b38ba
Merge remote-tracking branch 'upstream/master'
2015-09-17 19:45:25 +03:00
Masahiro Wakame
e8185a267e
Merge pull request #5776 from stephenlautier/angular-animate
...
angular-animate - updated enabled
2015-09-16 22:46:21 +09:00
Masahiro Wakame
3ea893c6ba
Merge pull request #5436 from billccn/master
...
Completely typed AngularJS $http.
2015-09-16 22:11:35 +09:00
Ciuca, Alexandru
d0a264d5ff
angularjs - better granularity for filter service parameter types
2015-09-14 17:12:44 +03:00
unknown
aebfb46ca9
angular-animate - updated enabled
2015-09-11 11:42:02 +02:00
Bill Chen
a42706711d
Completely typed AngularJS $http.
...
Merged the defaults, added missing typings and refined others.
2015-09-09 10:30:28 +01:00
Daniel
79dfea3815
IInjectorService.get has an optional 2nd param.
...
`caller` is an optional string to provide the origin of the function call for error messages. https://docs.angularjs.org/api/auto/service/$injector#get
2015-09-08 22:45:18 -04:00
Stijn Van Nieuwenhuyse
77dd2668f8
add missing ngMockE2E module
2015-09-06 16:46:23 +02:00
Ciuca, Alexandru
1a61d12d8d
angular.d.ts - type safety for $controller
2015-09-03 15:56:47 +03:00
Michael Wittwer
32f803ab65
add new method on $httpProvider to define which kind of Promises we like to use (normal vs. decorated with sucess / error)
2015-09-01 11:41:51 +02:00
Masahiro Wakame
8efeb01304
Merge pull request #5440 from giggio/fixGlobalModule
...
Remove global `module` definition from angular-mocks
2015-08-28 12:04:37 +09: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
4b8efa4350
Merge pull request #5220 from daltin/master
...
httpBackend updated to match Angular documentation
2015-08-21 23:41:47 +09: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
Giovanni Bassi
47b934362a
Remove global module definition from angular-mocks
...
Because it conficts with commonjs.
See http://wiki.commonjs.org/wiki/Modules/1.1 :
> In a module, there must be a free variable "module", that is an Object.
Also see the existing `module` declaration on:
27e02d6674/node/node.d.ts (L61)
Workaround is to use `angular.mock.module` instead of `module`.
Closes #2072
2015-08-19 16:47:20 -03:00
Ilya Mochalov
d9b84213f2
angularjs: added $q tests
2015-08-18 19:46:11 +05:00