Commit Graph

69 Commits

Author SHA1 Message Date
Andy
ae4fe7b6de Use "lib" in tsconfigs instead of "target". (#13968)
* Use "lib" in tsconfigs instead of "target".

Only add "dom" to libraries that need it. This is determined by a script, so many libraries that have "dom" maybe should not.

* Update new-package and readme

* Add back "target" where necessary
2017-01-18 07:51:51 -08:00
Ivan Matiishyn
b1316f90aa fixes 2016-12-22 10:37:45 +01:00
Ivan Matiishyn
18654e7f4b added definitions 2016-12-21 18:43:46 +01:00
Ivan Matiishyn
be2a7b8f93 [angular-ui-router] Added description for redirectTo 2016-12-21 17:59:53 +01:00
Andy
05e9c858cf Merge 20dec (#13471)
* base-64 typings

* formatting and indenting

* feat: add typings for watchpack

* fix: improve missing typings

* Port from https://github.com/agileek/typings-vis/blob/master/vs.d.ts

* Fix travis build failures

* Port PR https://github.com/agileek/typings-vis/pull/12

* Fix travis build failures

* added tsconfig and tslint

* removed patch number

* added tests

* made it export like base64-js

* removed old code

* formatted code

* fix: add files field in tsconfig.json for expected publishment

* fix: improve most missing typings

* feat: upgrade to v3.0.0

* feat: upgrade to tapbale v0.2.5

* Types 2.0 (#13261)

* updating typing of the latest 7.0 react-autosuggest

* updating typing of react-autosuggest 7.0

* update typings for react-autosuggest 7.0

* Remove '+' from header versions, so they can be parsed (#13239)

* Updated masonry-layout to fix linting errors (#13272)

* Updated masonry-layout to fix linting errors

* Fixed the tests I could fix.

* Removed patch version

* Add redux-persist and basic transformers (#13389)

* Add definitions for redux-persist

* Add missin generic types

* Add definitions for filter transformer

* Add definitions for encrypt transformer

* Fix header

* Add definitions for compress transformer

* Delete unnecessary linter configs

* Change way of importing, fix tests

* fix: angulartics type definition for ES6 import

* fix: lint error

* fix scalar type config (#13398)

The `GraphQLScalarTypeConfig` interface had incorrect types. Correct types may be seen here: 379a308439/src/type/definition.js (L348-L350)

* [interact.js] Update module names (#13316)

Update CommonJS module name as it was changed in version 1.2.7.
AMD module name is also different from both new and old CommonJS module names, so a separate declaration was created for that as well.

* Add definitions for redux-recycle (#13424)

* Add definitions for redux-recycle

* Fix linter errors

* [jest] add type definition for toHaveBeenLastCalledWith (#13038)

* remove ajv because the package bundles its own types (#13028)

* Updated type definitions to yfiles for HTML 2.0. (#13332)

* Updated type definitions to yFiles for HTML 2.0.

* Updated type definitions to yfiles for HTML 2.0.

* Added contact in yfiles .d.ts header.

* Add redux-batched-actions typings. (#13054)

* Add types for mailgen (#13080)

* Typings for cordova-sqlite-storage (#13081)

* Add flatpickr definitions (#13083)

* Add pouch-redux-middleware typing (#13071)

* Add pouch-redux-middleware typing

* Fix <> in comment

* Add declaration for crc (#13068)

* Updated jquery.dataTables for 1.10.9 (#13099)

Release Notes: https://cdn.datatables.net/1.10.9/

* Moved legacy browser settings to its own data type.
* Added 'aIds' property on legacy settings object for mapping row ids to data indexes.
* Added 'rowIdFn' function to legacy settings object to get a row's id from the row's data.

* chore(lint): change vis typing to external module (#13399)

* Fix cordova-sqlite-storage lint

* Lint `vis`: Remove "I" prefix for namespaces

* Change cordova-sqlite-storage back. Linter was wrong.
2016-12-20 11:55:40 -08:00
Andy
a4bd9fa3c1 Add "noImplicitThis" to all tsconfig.json (#13446)
* Add "noImplicitThis" to all tsconfig.json

* Use `"noImplicitThis": false` on packages with broken tests.
2016-12-19 14:11:46 -08:00
Nathan Shively-Sanders
c6c61b2213 Merge remote-tracking branch 'origin/master' into types-merge-20161122 2016-11-22 15:08:50 -08:00
Teruyoshi Kutsuna
47310a628a fix(angular-ui-router): replace argument of url matcher.exec searchParams to search, hash, options (optionally all). 2016-11-10 14:36:20 +09:00
Nathan Shively-Sanders
14fb8ef536 Merge branch 'master' into types-2.0-2016-08-12 2016-08-12 14:53:54 -07:00
Bjørn
493d44982e Add default export to angular-ui-router. 2016-08-10 21:18:28 +02:00
Ryan Cavanaugh
b488f3cb5f Merge remote-tracking branch 'upstream/master' into merge_7_25 2016-07-27 10:57:46 -07:00
Ryan Cavanaugh
e4421f5ebe Merge commit 'upstream/master~650' into merge_7_25 2016-07-25 23:49:05 -07:00
Ryan Cavanaugh
5e9440c8ad Merge commit 'upstream/master~700' into merge_7_25
# Conflicts:
#	angular-ui-router/angular-ui-router.d.ts
#	bookshelf/bookshelf-tests.ts
#	bookshelf/bookshelf.d.ts
#	enzyme/enzyme-tests.tsx
#	enzyme/enzyme.d.ts
#	escodegen/escodegen-tests.ts
#	helmet/helmet.d.ts
#	joi/joi.d.ts
#	knex/knex-tests.ts
#	moment/index.d.ts
#	mongoose/index.d.ts
#	pg/pg.d.ts
#	react-select/react-select-tests.tsx
#	soap/index.d.ts
#	ssh2/ssh2.d.ts
#	turf/turf-tests.ts
#	underscore.string/underscore.string.d.ts
2016-07-25 16:10:34 -07:00
Ryan Cavanaugh
9d7d5a209a Getting types-2.0 passing CI 2016-07-14 18:13:43 -07:00
Ryan Cavanaugh
a5f4d50ccc Fix tsconfig files for new option name / behavior.
Also fixes some inconsistent whitespace.
2016-07-12 13:54:56 -07:00
Mohamed Hegazy
61fa2391a4 Replace references to angularjs with angular to match package name 2016-07-07 17:39:27 -07:00
Micaël Mbagira
b38cd68fe2 Add component key to IState
Since beta.1, you can set `component` if you are using Angular 1.5 (component syntax)
2016-07-07 13:32:37 +02:00
Raghav Katyal
395c4e1639 Turning on consistent casing flag and fixing failures 2016-06-30 15:14:49 -07:00
Raghav Katyal
c17b1b78b8 OldUMD and many other module fixes. 2016-06-20 14:15:13 -07:00
Abhishek Garg
41f31600a1 Rectify type for IState.template (#9354)
Add `params: IStateParamsService` for IState.template function
2016-05-21 08:14:13 -07:00
Paul Brohman
70d5dcff6f Updating the IStateOptions.reload to allow string or IState (#9298)
`reload` allows for a string based state or a state object

```
reload (v0.2.5) - {boolean=false|string|object}, If true will force transition even if no state or params have changed. It will reload the resolves and views of the current state and parent states. If reload is a string (or state object), the state object is fetched (by name, or object reference); and \ the transition reloads the resolves and views for that matched state, and all its children states.
```
2016-05-15 01:29:31 +09:00
Ryan Cavanaugh
bfd400a8f8 Add noEmit to all config files 2016-05-10 12:24:49 -07:00
Ryan Cavanaugh
e808e8e062 Remove unneeded references 2016-05-10 12:22:25 -07:00
Ryan Cavanaugh
50387d4046 Change relative reference paths to types references. Errors incoming... 2016-05-09 18:06:27 -07:00
Ryan Cavanaugh
49b1ac6a38 Rename all entry points to index.d.ts and explicitify all file lists 2016-05-09 17:29:10 -07:00
Ryan Cavanaugh
ab2b4191c5 Add typesRoot to all config files 2016-05-09 13:52:25 -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
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
Ryan Cavanaugh
541e24b685 Fix angularjs/angular; 'export declare'/'declare export' 2016-04-25 13:02:25 -07:00
mmmichl
bf263437d0 Introduce unfoundState type from $stateNotFound event (#8894) 2016-04-12 22:47:57 +09: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
Nils Engelbach
655f8c1bf3 Added Missing includes function overload
The includes function call with an options object was not defined.
See: http://angular-ui.github.io/ui-router/site/#/api/ui.router.state.$state
2016-01-12 17:11:18 +01:00
Ben Loveridge
d5e1c4b1f5 Support more variations of IStateService.get 2016-01-07 14:10:36 -07:00
Masahiro Wakame
a606eab397 Merge pull request #7300 from Burgov/urlroutermethods
add some methods defined on the UrlRouter service
2015-12-23 18:12:32 +09:00
Bart van den Burg
75ae49e85b add some methods defined on the UrlRouter service
See https://github.com/angular-ui/ui-router/blob/a7d25c6/src/urlRouter.js#L308
2015-12-22 15:39:38 +01:00
Michael Tiller
60caa355e5 Including types from angular-ui-router
This change to the module definition allows both classic CommonJS imports
as well as new ES6 style imports, e.g. import { IState } from 'angular-ui-router';
2015-12-03 08:29:49 -05:00
Evan Drewry
e6f49a3af3 fix broken angular namespace references
ng->angular
2015-10-28 15:54:40 -04:00
Masahiro Wakame
96d1232856 Merge pull request #6281 from Kopleman/patch-1
Adding missed cache to IState
2015-10-17 00:31:43 +09:00
Mark Bouwman
720460e0e6 transitionTo() and reload() should return promises
http://angular-ui.github.io/ui-router/site/#/api/ui.router.state.$state
2015-10-16 11:51:23 +02:00
Kopleman
d5e0dcb4c7 Updating angilar-ui-router.d.ts.
Adding missed cache?:boolean to IState interaface
2015-10-14 09:45:23 +03:00
vvakame
a694252d47 Merge branch 'angular-ui-router' of https://github.com/pocesar/DefinitelyTyped into pocesar-angular-ui-router 2015-10-05 22:40:20 +09:00
Matt DeKrey
557a792eaf Add ui-router transition promise 2015-09-23 20:41:19 -05:00
Paul Spears
6612806e0a Added missing types, updated tests
This is a fix for issue #5652
https://github.com/borisyankov/DefinitelyTyped/issues/5652
2015-09-02 16:01:05 -05:00
Dan Lewi Harkestad
4af10f4fae Added tests covering all modifications. 2015-08-18 20:09:11 +02:00
Paulo Cesar
e8c8cfa1d4 allow strictDi controller 2015-08-07 00:41:30 -03:00
Dan Lewi Harkestad
92ba5354f9 Added missing listen function in angular-ui-router
UrlRouter service has a function listen() that is undocumented in
reference, but is mentioned in other parts of the documentation.
2015-08-04 15:05:31 +02:00
Dan Lewi Harkestad
008b03a4b6 Missed ability to define url matcher types in angular-ui-router.
Added type definitions for defining url matcher types.
Docs:
http://angular-ui.github.io/ui-router/site/#/api/ui.router.util.type:Type
http://angular-ui.github.io/ui-router/site/#/api/ui.router.util.$urlMatcherFactory
2015-08-04 14:59:51 +02:00