Commit Graph

527 Commits

Author SHA1 Message Date
Ryan Cavanaugh
ab2b4191c5 Add typesRoot to all config files 2016-05-09 13:52:25 -07:00
Ryan Cavanaugh
5859f63fd3 Keep fixing... 2016-05-05 12:38:52 -07:00
Ryan Cavanaugh
81862d240d More fixes 2016-05-04 22:50:05 -07:00
Ryan Cavanaugh
ded70421be Turn off strict null checks 2016-05-04 15:08:38 -07:00
Ryan Cavanaugh
69d1929d8a Add tsconfig.json files 2016-05-04 14:14:39 -07:00
Ryan Cavanaugh
fa204a87d1 Remove obsolesced reference comments 2016-04-27 21:53:46 -07:00
Ryan Cavanaugh
15dbdc4c4c Remove *all* tscparams 2016-04-27 20:47:56 -07:00
Ryan Cavanaugh
e7c111c4b7 Merge remote-tracking branch 'upstream/master' into types2.0
Add tsconfig files everywhere

# Conflicts:
#	azure-mobile-services-client/AzureMobileServicesClient.d.ts
#	bookshelf/bookshelf.d.ts
#	hapi/hapi.d.ts
#	helmet/helmet.d.ts
#	mongodb/mongodb.d.ts
#	nock/nock.d.ts
#	react-bootstrap/react-bootstrap.d.ts
#	react-helmet/react-helmet.d.ts
#	restify/restify.d.ts
#	sequelize/sequelize.d.ts
2016-04-27 20:40:21 -07:00
Alex Staroselsky
5b7257019a Exposed angular.mock.module.sharedInjector method for jasmine and mocha testing to take advantage of jasmine's beforeAll() and mocha's before() methods. (#9106) 2016-04-26 00:50:16 +09:00
Ryan Cavanaugh
f8a62ae9bf Merge remote-tracking branch 'upstream/master' into types2.0 2016-04-19 15:18:41 -07:00
Ken Howard
e684481e0c Return typed definition from toJSON method (#8859)
* Return typed definition from toJSON method

* Test toJSON returns IMyResource
2016-04-12 23:22:09 +09:00
Anthony Ciccarello
0ea6c46516 Add ControllerService to angular-mocks (#8889)
* Add ControllerService to angular-mocks

The definition in angular.d.ts changed that used to included this definition.
Needed because of 69d2fb9

* Added unit tests for controller service mock
2016-04-12 22:42:42 +09:00
Pekka Leppänen
fa3294c560 Enable type checking for constant and value (#8885)
Using a generic type one can type check the `constant` or `value` in angular.module.
2016-04-12 22:32:17 +09:00
Ryan Cavanaugh
0e9df16001 Merge remote-tracking branch 'upstream/types-2.0' into types2.0
# Conflicts:
#	electron/github-electron.app.d.ts
#	electron/github-electron.auto-updater.d.ts
#	electron/github-electron.browser-window.d.ts
#	electron/github-electron.clipboard.d.ts
#	electron/github-electron.content-tracing.d.ts
#	electron/github-electron.crash-reporter.d.ts
#	electron/github-electron.desktop-capturer.d.ts
#	electron/github-electron.dialog.d.ts
#	electron/github-electron.dom.d.ts
#	electron/github-electron.event-emitter.d.ts
#	electron/github-electron.global-shortcut.d.ts
#	electron/github-electron.ipc-main.d.ts
#	electron/github-electron.ipc-renderer.d.ts
#	electron/github-electron.menu-item.d.ts
#	electron/github-electron.menu.d.ts
#	electron/github-electron.native-image.d.ts
#	electron/github-electron.power-monitor.d.ts
#	electron/github-electron.power-save-blocker.d.ts
#	electron/github-electron.protocol.d.ts
#	electron/github-electron.remote.d.ts
#	electron/github-electron.screen.d.ts
#	electron/github-electron.session.d.ts
#	electron/github-electron.shell.d.ts
#	electron/github-electron.tray.d.ts
#	electron/github-electron.web-contents.d.ts
#	electron/github-electron.web-frame.d.ts
2016-04-08 12:47:22 -07:00
Horiuchi_H
f0b2681b48 Merge pull request #8566 from okamiconcept/patch-2
Fix module definition for IModule
2016-04-07 17:51:21 +09:00
Ryan Cavanaugh
4f7524fc65 Rename files and folders to match their module definitions 2016-04-05 15:50:30 -07:00
Masahiro Wakame
1c94cfb32e Merge pull request #8747 from brendon-colburn/patch-1
Overload for custom scope interfaces
2016-03-31 00:20:52 +09:00
Brendon Colburn
0aa772c53f Overload for custom scope interfaces
I recently came up with this solution so I could leverage my custom scope when grabbing the scope from a controller using angular.element.  It works well and with the <T extends IScope> it ensures that you can only set it to an interface that extends IScope.
2016-03-28 08:58:10 -04:00
SquadWuschel
d4d4286f7a Changed Promise to IPromise
The current TypeDefinition with Promise was not working any more, can't find the Promise its needed to be renamed to IPromise.
2016-03-28 11:45:19 +02:00
Masahiro Wakame
18b09b6f86 Merge pull request #8676 from FreakenK/master
Add angular-mocks $componentController typings.
2016-03-26 21:49:52 +09:00
Jasmin Auger
ce7496396f Add tests for angular-mocks' typings. 2016-03-21 21:25:58 -04:00
Jasmin Auger
1cced363c0 Add angular-mocks typings. 2016-03-21 21:13:50 -04:00
Thanabodee Charoenpiriyakij
5256422ee7 angularjs: Support HttpParamSerializer interface 2016-03-20 15:19:37 +07:00
Sebastien
36f1d8d82f Updated to improve IComponentOptions 2016-03-18 11:21:30 +01:00
Sebastien
742354b669 Merge remote-tracking branch 'upstream/master' 2016-03-18 08:28:41 +01:00
vvakame
7de6c3dd94 Merge branch 'master' into rename-repo-url 2016-03-17 21:06:54 +09:00
vvakame
14fe4313f4 replace internal module to namespace 2016-03-17 02:18:10 +09:00
vvakame
56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
okamiconcept
151405fb05 Fix module definition for IModule
Put the IModule definition in angular module.
2016-03-15 12:28:10 +01:00
thorn0
18c25bcac5 angularjs: fix typings for $q.all(array) 2016-03-15 02:54:37 +02:00
Sebastien
b2da5285ff Updated angularjs IComponentOptions (fixes #8515) 2016-03-12 02:49:58 +01:00
Masahiro Wakame
3cccf14497 Merge pull request #8445 from Burgov/angularcontrollerservice
fix ControllerService arguments
2016-03-11 00:38:52 +09:00
Masahiro Wakame
320639ffbb Merge pull request #8429 from ashwin027/missingoption
Added missing property
2016-03-11 00:06:25 +09:00
Masahiro Wakame
58f6485525 Merge pull request #8428 from ashwin027/angularfix
Added an interface for IModelOptions.
2016-03-11 00:05:29 +09:00
Masahiro Wakame
046b3cf669 Merge pull request #8419 from DavidKDeutsch/angular
Making return types of  $on and  $watch more specific
2016-03-10 23:14:41 +09:00
Masahiro Wakame
8a88c85be0 Merge pull request #8150 from mmiszy/angular
Update AngularJS to 1.5
2016-03-10 22:26:45 +09:00
Bart van den Burg
69d2fb94a9 fix ControllerService arguments
See https://github.com/angular/angular.js/blob/v1.5.0-beta.0/src/ng/controller.js#L86
2016-03-08 18:13:20 +01:00
Ashwin
1c4a98f368 Added missing property
Added missing property in the IFormController interface
2016-03-07 23:29:19 -07:00
Ashwin
9864cb1709 Added an interface for IModelOptions.
Added an interface for IModelOptions.
2016-03-07 23:18:27 -07:00
David Deutsch
f5a9c4bd4c Making return types of $on() and $watch() more specific 2016-03-07 10:47:18 -05:00
Masahiro Wakame
632d66bb4d Merge pull request #8372 from kant2002/patch-2
Specify interface for the resource methods
2016-03-04 22:53:12 +09:00
Andrey Kurdyumov
63addbc966 Specify interface for the resource methods
This allows remove redundancy when specify other methods for the resource
2016-03-04 01:06:31 +06: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