Commit Graph
24709 Commits
Author SHA1 Message Date
Andy 9cd596f97c Merge pull request #13229 from fsmedberg-tc/types-2.0
Makes the type definitions compatible with WebdriverIO 4.4.0.
2016-12-15 06:59:51 -08:00
Fredrik Smedberg 7cd7118483 Merge remote-tracking branch 'remotes/upstream/types-2.0' into types-2.0 2016-12-15 15:48:19 +01:00
Fredrik Smedberg 9896de4eb0 Used ? to indicate optional arguments for some methods, which made it possible to merge similar declarations into fewer. 2016-12-15 15:47:26 +01:00
Paul van Brenk 70897d9f92 Merge pull request #12908 from danimbrogno/fix-knex-timestamps
Fix knex timestamps
2016-12-14 15:48:33 -08:00
Andy 7429ccc7c4 Merge pull request #13305 from s0x/uikit-modal-options
Uikit support modal options
2016-12-14 12:31:28 -08:00
Andy 61c83f45a3 Merge pull request #13276 from siavelis/patch-2
Patch 2
2016-12-14 11:42:45 -08:00
Panagiotis Rikarnto Siavelis 673d2740d7 TableHeaderColumnProps.dataFormat 3rd parameter.
Added 3rd parameter in TableHeaderColumnProps.dataFormat field. One can provide additional data to the 'dataFormat' function using 'formatExtraData'.
2016-12-14 21:06:37 +02:00
Andy a4b3c7ee7e Merge pull request #13293 from dbrgn/emojione
Add emojione type declarations
2016-12-14 10:48:31 -08:00
Danilo Bargen c0fcdc3505 Add version to header 2016-12-14 19:45:13 +01:00
Steve Ognibene 9ba882fc68 Merge pull request #13310 from nycdotnet/types-2.0
Add typings for the inert extension to hapi.js
2016-12-14 10:43:58 -05:00
Ivo Senner 9b5404d3c3 Make type definition pass linter 2016-12-14 07:46:43 +01:00
Ivo Senner ce7d989b7d Add tsconfig.json and tslint.json 2016-12-14 07:46:36 +01:00
Ivo Senner d87badd909 Update type definitions for UIkit.Modal 2016-12-14 07:46:31 +01:00
Ivo Senner d971501f00 Increase version number 2016-12-14 07:46:24 +01:00
Ivo Senner 5afc680bd0 Remove gitigore to keep tsconfig.json 2016-12-14 07:46:12 +01:00
Naveen Kumar ead8376ca8 Add autohide and enddate in jqueryui.d.ts (#13330)
Added autohide and enddate in Datepickeroptions interface
2016-12-13 22:11:25 -08:00
Andy 0a8e31370e Merge pull request #12808 from tkrotoff/whatwg-fetch
whatwg-fetch: allow Body.json() typed result
2016-12-13 17:06:28 -08:00
Tanguy Krotoff cd8712b0a5 Fix TypeScript error 2016-12-14 01:49:51 +01:00
Tanguy Krotoff 3ef904898e Add missing semicolons 2016-12-14 01:49:33 +01:00
Tanguy Krotoff 1d0f8c6102 Fix TypeScript error with version 2.1.4
See Wrong type with Promise chaining and 2.1.4 https://github.com/Microsoft/TypeScript/issues/12409
2016-12-14 01:48:49 +01:00
Andy 8255d1d175 Merge pull request #13015 from alejo90/fix-point-distance-and-add-utils
[@types/leaflet] Fixed Point::distance return type and added missing utils
2016-12-13 15:40:41 -08:00
Alejandro Sánchez e21973de05 Fixed Point::distance return type and added missing utils 2016-12-13 17:25:57 -06:00
Andy ec7def120d Merge pull request #13050 from danzel/leaflet
Leaflet - Add missing L.ImageOverlay methods and missing L.Draggable class
2016-12-13 15:20:58 -08:00
Dan Imbrogno 4936f54c11 Merge branch 'types-2.0' into fix-knex-timestamps
# Conflicts:
#	knex/index.d.ts
2016-12-13 17:36:51 -05:00
Andy 040289c071 Merge pull request #13267 from grahammendick/navigation-react-2.0.0
Added navigation-react typings and tests
2016-12-13 13:08:44 -08:00
Graham Mendick a7b62c729e Replaced tabs with spaces to match index.d.ts 2016-12-13 20:02:13 +00:00
Graham Mendick 53ae896b99 Addressed review comments 2016-12-13 19:33:59 +00:00
Nathan Shively-Sanders 7f87c8ecad Merge pull request #12689 from e-cloud/types/acorn
feat: upgrade acorn definition to sync with latest acorn
2016-12-13 10:46:57 -08:00
Andy d4555f35b0 Merge pull request #13142 from cmslewis/patch-2
Add bodyElement declaration for tether v1.4.0
2016-12-13 10:44:49 -08:00
Fredrik Smedberg cb9f03c317 Removed all callbacks and fixed the return types of many methods. They're now chainable and IntelliSense now correctly shows the merge of the Client object and the given data type, where applicable. 2016-12-13 18:31:23 +01:00
Danilo Bargen 2fc133fc04 Export as namespace 2016-12-13 18:01:08 +01:00
Danilo Bargen 737b44634b Remove reference from tests 2016-12-13 18:00:59 +01:00
Danilo Bargen 43a2d51e2d Update emojione format 2016-12-13 17:10:36 +01:00
Steve Ognibene 15fe2ba0e6 Add typings for the inert extension to hapi.js
see: https://github.com/hapijs/inert/pull/78
2016-12-13 10:45:14 -05:00
Fredrik Smedberg 18b63e5a3c Merge remote-tracking branch 'remotes/upstream/types-2.0' into types-2.0 2016-12-13 13:53:29 +01:00
Danilo Bargen f337677566 Add emojione type declarations 2016-12-13 09:48:10 +01:00
Andy e871ceddab Merge pull request #13285 from icfantv/types-2.0
(angular-ui-bootstrap): expose interface types for importing
2016-12-12 17:25:15 -08:00
Adam Gordon ccc65d990d expose interface types for importing 2016-12-12 15:32:52 -08:00
Andy 8e8f72fefa Merge pull request #13256 from marcovdb/patch-3
Update index.d.ts
2016-12-12 13:53:01 -08:00
Andy 3a5f0df4f5 Merge pull request #13259 from elias-winberg/fix-mapValues
Fix definitions for 'mapValues',  'mapValuesLimit', 'mapValuesSeries'
2016-12-12 12:28:38 -08:00
Andy dbe47669cb Merge pull request #13279 from DefinitelyTyped/master_to_2.0_12Dec_Part3
Master to 2.0 12 dec part3
2016-12-12 12:17:57 -08:00
Andy Hanson 8b880a3350 Merge branch 'master' into master_to_2.0_12Dec_Part3 2016-12-12 12:14:49 -08:00
Andy de2d213bfd Master to 2.0 12 dec part2 (#13278)
* Added missing nconf.required(keys) and Provider.required(keys) methods.

* update to 4.7.0, add querycursor.map() and schema.loadClass()

* add error callback for schema.post()

* Added playsInline property as introduced in React 15.3.2

* Add definitions for redux-localstorage and main enhancers (#12580)

* Add definitions for redux-localstorage

* Add definitions for redux-localstorage-filter enhancer

* Add definitions for redux-localstorage-debounce enhancer

* csurf.d.ts relying on CookieOptions from express

It seems express no longer exports `CookieOptions`, we need to import `express-serve-static-core` instead.

* Added height property to IDialogOptions

* versionKey type

* kendo-ui: mark toString() params as optional (#13164)

These function parameters are optional according to the upstream
docs, e.g.
  http://docs.telerik.com/kendo-ui/api/javascript/geometry/matrix#methods-toString

* Ensure that zoneAbbr and zoneName are expected type (string).

* Update moment-timezone.d.ts

* Fix syntax error in interact.d.ts

A parameter name was missing making TypeScript compiler fail.

* adding type for move to fs-extra

* fixing signature of sinon/alwaysReturned based on the http://sinonjs.org/docs/#sinonspy

* increasing version number

* returning back the version number to the origin number

* reversing changes in fs-extra

* Request that PRs have meaningful titles

* Improvement to existing nouislider type definition. (#12033)

* updated nouislider version and added a lot of tests out of the documentation

* corrected intentation

* corrected untyped variables, issue raised by Travis

* incorporated feedback on pull request

* #13037 (#13039)

* #13037

* pointToLayer first argument type fixed
GeoJSON.Point to GeoJSON.Feature<GeoJSON.Point>

* Missing cc in sendgrid packate (#13063)

The sendgrid package was missing the `cc` field, and the `bcc` field had a too generic type (`any` instead of `string[]`, as used on the `setCcs` and `setBccs` below.

* Fixes #12414 (#13076)

* Fixes #12414

* Make applicationServerKey optional

* added ariaLabelledBy and ariaDescribedBy to IModalSettings (#13004)

* Ceymard leaflet (#13007)

* replaced all overrides of LatLng by a single use of LatLngExpression when appropriate

* Changed Point, PointTuple overrides to use PointExpression instead

* Changet use of LatLngBounds and Bounds in general to use the Expression variant instead of having several overrides

* add ElasticSeach 5.x API function for deleteByQuery (#13014)

* add ElasticSeach 5.x API function for deleteByQuery

* use searchParams for deleteByQuery, as theses resemble the documentation.

* add DeleteByQueryParams parameter type.

* add deleteByQuery to tests.

* Make `less` render options optional (#13078)

* Added semver

* Updated gravity definition. (#13088)

* Full Redis client options (#13108)

* Added missing return type to on() methods. (#13082)

* Update react-native.0.29.d.ts (#13118)

drawerPosition is of type `number`
Android DrawerConsts.DrawerPosition.Left is equivalent to DrawerLayoutAndroid.positions.Left
Android DrawerConsts.DrawerPosition.Right is equivalent to DrawerLayoutAndroid.positions.Right

* Upgrade to match braintree-web 3.6.1 (#13098)

* Update to match braintree-web version 3.3.0

* Upgrade to match Braintree-web v3.5.0

* upgrade to match braintree-web 3.6.1

add US bank class

* Fix missing parameters from svg append (#13119)

* Add parameter declarations to append()

* Made insertFirst parameter optional

* Correct missing ‘auto’ option of GridList’s cellHeight (#13094)

* Add new Angular 1.5.9 methods to $compileProvider  (#13096)

* Add new Angular 1.5.9 methods to $compileProvider

Add new methods available in Angular 1.5.9: onChangesTtl(), commentDirectivesEnabled() and cssClassDirectivesEnabled()

* Add JSDoc to Angular 1.59 new methods of $compileProvider

JSDoc for onChangesTtl(), commentDirectivesEnabled() and cssClassDirectivesEnabled() methods.

* Expand $compileProvider JSDoc

Urls added to JSDoc of Angular 1.5.9 new methods .

* Changed type of injectedScript property to string (#13120)

The injectedScript property should take string value with script code, not the bool flag as in current version

* Use unions for openlayers string enums (#13134)

* Update google.maps.MapPane interface (#13122)

* Removing myself (AlStar01) as definition author from angular-material.d.ts (#13125)

* Clarify that notNeededPackages.json is just for packages formerly on DefinitelyTyped (#13156)

* Update Parsimmon typings (#13146)

* Update AmCharts.d.ts (#13170)

* knex: add MySqlConnectionConfig, tests (#13161)

* knex: add MySqlConnectionConfig, tests

* knex: add types for MySqlConnectionConfig queryFormat params

* Add note in readme about tsjs-lib-generator (#13210)
2016-12-12 11:24:09 -08:00
Andy c968762595 Merge 'master' to 'types-2.0' one last time (#13277)
* Added missing nconf.required(keys) and Provider.required(keys) methods.

* update to 4.7.0, add querycursor.map() and schema.loadClass()

* add error callback for schema.post()

* Added playsInline property as introduced in React 15.3.2

* Add definitions for redux-localstorage and main enhancers (#12580)

* Add definitions for redux-localstorage

* Add definitions for redux-localstorage-filter enhancer

* Add definitions for redux-localstorage-debounce enhancer

* csurf.d.ts relying on CookieOptions from express

It seems express no longer exports `CookieOptions`, we need to import `express-serve-static-core` instead.

* Added height property to IDialogOptions

* versionKey type

* kendo-ui: mark toString() params as optional (#13164)

These function parameters are optional according to the upstream
docs, e.g.
  http://docs.telerik.com/kendo-ui/api/javascript/geometry/matrix#methods-toString

* Ensure that zoneAbbr and zoneName are expected type (string).

* Update moment-timezone.d.ts

* Fix syntax error in interact.d.ts

A parameter name was missing making TypeScript compiler fail.

* adding type for move to fs-extra

* fixing signature of sinon/alwaysReturned based on the http://sinonjs.org/docs/#sinonspy

* increasing version number

* returning back the version number to the origin number

* reversing changes in fs-extra

* Request that PRs have meaningful titles

* Improvement to existing nouislider type definition. (#12033)

* updated nouislider version and added a lot of tests out of the documentation

* corrected intentation

* corrected untyped variables, issue raised by Travis

* incorporated feedback on pull request

* #13037 (#13039)

* #13037

* pointToLayer first argument type fixed
GeoJSON.Point to GeoJSON.Feature<GeoJSON.Point>

* Missing cc in sendgrid packate (#13063)

The sendgrid package was missing the `cc` field, and the `bcc` field had a too generic type (`any` instead of `string[]`, as used on the `setCcs` and `setBccs` below.

* Fixes #12414 (#13076)

* Fixes #12414

* Make applicationServerKey optional

* added ariaLabelledBy and ariaDescribedBy to IModalSettings (#13004)

* Ceymard leaflet (#13007)

* replaced all overrides of LatLng by a single use of LatLngExpression when appropriate

* Changed Point, PointTuple overrides to use PointExpression instead

* Changet use of LatLngBounds and Bounds in general to use the Expression variant instead of having several overrides

* add ElasticSeach 5.x API function for deleteByQuery (#13014)

* add ElasticSeach 5.x API function for deleteByQuery

* use searchParams for deleteByQuery, as theses resemble the documentation.

* add DeleteByQueryParams parameter type.

* add deleteByQuery to tests.

* Make `less` render options optional (#13078)

* Added semver

* Updated gravity definition. (#13088)

* Full Redis client options (#13108)

* Added missing return type to on() methods. (#13082)

* Update react-native.0.29.d.ts (#13118)

drawerPosition is of type `number`
Android DrawerConsts.DrawerPosition.Left is equivalent to DrawerLayoutAndroid.positions.Left
Android DrawerConsts.DrawerPosition.Right is equivalent to DrawerLayoutAndroid.positions.Right

* Upgrade to match braintree-web 3.6.1 (#13098)

* Update to match braintree-web version 3.3.0

* Upgrade to match Braintree-web v3.5.0

* upgrade to match braintree-web 3.6.1

add US bank class

* Fix missing parameters from svg append (#13119)

* Add parameter declarations to append()

* Made insertFirst parameter optional

* Correct missing ‘auto’ option of GridList’s cellHeight (#13094)

* Add new Angular 1.5.9 methods to $compileProvider  (#13096)

* Add new Angular 1.5.9 methods to $compileProvider

Add new methods available in Angular 1.5.9: onChangesTtl(), commentDirectivesEnabled() and cssClassDirectivesEnabled()

* Add JSDoc to Angular 1.59 new methods of $compileProvider

JSDoc for onChangesTtl(), commentDirectivesEnabled() and cssClassDirectivesEnabled() methods.

* Expand $compileProvider JSDoc

Urls added to JSDoc of Angular 1.5.9 new methods .

* Changed type of injectedScript property to string (#13120)

The injectedScript property should take string value with script code, not the bool flag as in current version

* Use unions for openlayers string enums (#13134)

* Update google.maps.MapPane interface (#13122)

* Removing myself (AlStar01) as definition author from angular-material.d.ts (#13125)

* Clarify that notNeededPackages.json is just for packages formerly on DefinitelyTyped (#13156)

* Update Parsimmon typings (#13146)

* Update AmCharts.d.ts (#13170)

* knex: add MySqlConnectionConfig, tests (#13161)

* knex: add MySqlConnectionConfig, tests

* knex: add types for MySqlConnectionConfig queryFormat params

* Add note in readme about tsjs-lib-generator (#13210)

* Remove redux-localstorage packages; added by #13115 instead
2016-12-12 11:00:28 -08:00
Andy da815a45df Add definitions for redux-localstorage and main enhancers (#13115) 2016-12-12 10:46:32 -08:00
Andy 6b3bc735ad Add note in readme about tsjs-lib-generator (#13210) 2016-12-12 09:24:06 -08:00
Nathan Shively-Sanders 6f031ede9f Merge pull request #12828 from xiemaisi/node-event-module
Improve model of Node.js `events` module.
2016-12-12 08:32:45 -08:00
Fredrik Smedberg c61814f400 Merge remote-tracking branch 'remotes/upstream/types-2.0' into types-2.0 2016-12-12 16:46:18 +01:00
Fredrik Smedberg eff17369bc client.end() doesn't expect any parameters. Removed 'done' from the method call. 2016-12-12 16:45:39 +01:00
Markus Wolf 74c552d783 fix: chokidar exposes FSWatcher by itself (#13126) 2016-12-12 06:53:03 -08:00