Commit Graph
64287 Commits
Author SHA1 Message Date
Rob Lourens d43feccde7 VS Code 1.38.0 Extension API (#38136) 2019-09-04 11:33:56 -07:00
Ravi van Rooijen 47e9cf6d89 [@types/pg] Generify query methods (#37892)
* [@types/pg] Generify query methods

`R` will be the return type of the query, `I` a tuple for parameters

* [@types/pg] Add test for generified query method

* Raise pg-copy-streams minimum typescript version for pg compatibility

* Raise pg-ears minimum typescript version for pg compatibility

* Raise pg-large-object minimum typescript version for pg compatibility

* Raise pg-pool minimum typescript version for pg compatibility

* Raise pg-query minimum typescript version for pg compatibility
0.1.450
2019-09-04 10:44:34 -07:00
Terence Honles 65784f7fba fix @types/googlemaps google.maps.MapTypeId to be a string enum (#38084) 2019-09-04 10:39:03 -07:00
akameco 810b40c275 [@babel/core] Add resolvePlugin, resolvePreset (#37810)
* Add resolvePlugin, resolvePreset

* Add test for resolvePlugin, resolvePreset
2019-09-04 10:36:41 -07:00
Alexander Pepper 31929c09c7 [@types/react-tag-input] Added missing props (#38080)
Added:
* allowAdditionFromPaste
* resetInputOnDelete
* inputValue
* shouldRenderSuggestions

Types derived from https://github.com/prakhar1989/react-tags/blob/28dcb564716a24101bc0ee1dcf152c5a96e69fe4/src/components/ReactTags.js#L31-L73 .
2019-09-03 17:55:36 -07:00
Raúl Acuña 3225ded66b [@types/chai] Add 'own' type definition (#38083)
* Add 'own' type definition

* add 'own' tests
2019-09-03 17:30:15 -07:00
YonatanKiron ae863e389d Add bytes parameter to cat shards (#38079)
As described in Elasticsearch documentation - https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-shards.html#cat-shards-query-params
2019-09-03 17:25:47 -07:00
LeopoldLerch d57f1b9a13 [Sharepoint] Methods for "disableReturnValueCache" (#38081)
* Methods for "disableReturnValueCache"

* travis bugs fixed

* trailing whitespace removed
2019-09-03 17:23:38 -07:00
Ramesh Anandakrishnan 047e31f65c Supporting Auth0 email templates types (#37952)
* add endpoints for email template

* fixing typo for updateEmailTemplate

* fixTests

* remove changes from prettier
2019-09-03 17:21:36 -07:00
Maarten Tielemans 8afe8277bf [ioredis] Added typings for publishBuffer and zaddBuffer (#38075)
* 🏷 Added the publishBuffer(string, Buffer): Promise<number> typings to ioredis

* 🏷 Added the zaddBuffer(KeyType, string, Buffer): Promise<string | number> typings to ioredis

* ✅ Added primitive tests for publishBuffer and zaddBuffer

* ♻ Refactorred ioredis zaddBuffer tests to get rid of const

* 🐛 Changed the type of zaddBuffer to zaddBuffer(string, number, Buffer): Promise<string | number>
2019-09-03 17:11:50 -07:00
Sebastian Silbermann f39b36b2e7 chore(pretty-format): Unpublish (#37934)
* Unpublish pretty-format

* Use bundled pretty-format types
2019-09-03 17:04:06 -07:00
Anton Kenikh c823c6e10e [@types/mongoose] Add missing options?: mongodb.CollectionBulkWriteOptions to Model.bulkWrite (#38059)
* Update index.d.ts

* Update mongoose-tests.ts

* Update mongoose-tests.ts
2019-09-03 17:03:51 -07:00
Claas Ahlrichs 3a47df29de add missing Options (#37959) 2019-09-03 16:40:47 -07:00
Jordan Curzon ba6b2827ff Correct N3StreamWriter to a Sink (#38051)
Per https://github.com/rdfjs/N3.js/blob/master/README.md#interface-specifications StreamWriter implements a Sink, not a Source. I tested the change locally and it works correctly.
2019-09-03 15:55:02 -07:00
Dennis 233c50cd8c [@types/react-share] Update types LineIcon & LineShareButton (#38054)
* Update. LineShareButton and LineIcon

* Update. test case of LineIcon

* Update. The version of corresponding lib in header

* Fix. tslint errors 'dt-header'
2019-09-03 15:34:09 -07:00
Andrew Goldis 5d9a95e72b Allow generic use of Parse.Object.fromJSON() (#38047) 2019-09-03 15:28:04 -07:00
Matthew Peveler a3a46c42bd Update typings for node-vagrant 1.4 (#38046) 2019-09-03 15:10:58 -07:00
Thales Agapito 7786a99410 Add oblique attribute to TextOptions interface (#38038) 2019-09-03 15:06:45 -07:00
David Evans dfe10fbcbe [prop-types] Do not consider null without undefined as optional (#38015)
* Do not consider null without undefined as optional

* Fix revealed errors in existing tests

- Non-required types can be undefined or null, so typescript types must reflect this

* Ensure undefined-ness is stored alongside nominalTypeHack

* Fix undefined in nominalTypeHack in a better way

* Add tests for nullable and undefinable types

* Fix formatting mistake

* Update downstream tests
2019-09-03 14:58:49 -07:00
Miro Yovchev 2fa0eebeb7 [@types/hapi__joi] Add number type to ValidationErrorItem path property (#38036)
* Add number type to ValidationErrorItem.path

* Formatting
2019-09-03 14:44:48 -07:00
Connor Fitzgerald d2e519565f oracledb add missing properties and make some optional (#38035)
* Add missing props dbTypeClass, dbTypeName

* Update header

* Revert "Update header"

This reverts commit b4f5169dfc5fb3d0c00c5b91dee310028d4d2d30.
2019-09-03 14:32:35 -07:00
mstlaurent-paradigm c173f1f194 [@types/tabulator-tables] copyToClipboard's 'type' parameter should be optional and accept all copy selectors (#38032) 2019-09-03 14:11:53 -07:00
Matheus Grieger 0865292a1a Updated AOS types with missing properties (#38012)
* Added missing AosOptions properties

* Updated tests using AOS' default settings

* Updated library version and added my name

* Fixed package version
2019-09-03 14:02:40 -07:00
TypeScript Bot 236ab2e348 Update CODEOWNERS (#38055) 2019-09-03 13:56:18 -07:00
Josejulio Martínez 63630efb88 Add destroyed api call (#37997) 2019-09-03 13:54:38 -07:00
Alex Jerabek 9b8d3d7c9d [office-js, office-js-preview] Correcting the Range.autofill description (#38010)
* Correcting the Range.autofill description

* Fix spacing
2019-09-03 13:51:09 -07:00
ulrichb 6f4b17c37b Change (fix) the typing of InputProps.onBlur() to FocusEvent (#38005) 2019-09-03 13:23:33 -07:00
Rémi Denèle 2db379b134 Add dispose() and setMimeTypes() methods definition (#37976) 2019-09-03 13:08:50 -07:00
Michael Macnair 76a0f7d9e9 react-scrollspy: componentTag can take components (#37977)
Its proptypes defintion is:
 componentTag: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),
But it's used like:
  <componentTag className={ itemClass } style={ style }>
Which makes it a component not any old function.
2019-09-03 13:08:13 -07:00
Khải 2c3ff2a508 Add overloads to child_process.spawn for when options.stdio is a tuple of 3 (#37946)
* Add overloads to child_process.spawn for when options.stdio is a tuple of 3

* Update definition to be compatible with older versions of TypeScript

* Fix tslint
2019-09-03 11:43:38 -07:00
Sean Kelley 16c89a5ec9 [react-datepicker] Remove myself as maintainer. (#38100) 2019-09-03 11:01:22 -07:00
Gili Tzabari ab349aa8bf @types/ssh2: Added shell() "env" option (#38096)
* Added @types/ssh2 shell() "env" option.

* Updated comment.

* Updated per PR feedback.
2019-09-03 10:31:41 -07:00
Dobes Vandermeer eef9163946 [react-datepicler] Update dependency on date-fns (#38086)
Now that `date-fns` has release version `2.0.0` and `react-datepicker`
has updated to depend on the released version, this library should
not require an older version of `date-fns` any more.
2019-09-03 10:26:29 -07:00
Dániel Tar ee8621f248 React-filepond: Add FilePondBaseProps.files and export FilePondProps subinterfaces (#38090)
* Add FilePondBaseProps.files and export FilePondProps subinterfaces

The `files` property was missing from `FilePondProps`.

Also export all interfaces which `FilePondProps` is extended from so consumers can partially construct them as needed.

* Add tests for react-filepond updates

* Fix react-filepond test

* React-filepond tests: use files from state
2019-09-03 10:23:10 -07:00
Julian Gonggrijp 1c92cef26e Add missing RequestStub methods to jasmine-ajax (#37804)
* Add a test to jasmine-ajax for RequestStub.andReturn

* Add tests to jasmine-ajax for the missing RequestStub methods

* Add the missing RequestStub methods to jasmine-ajax

* Add myself to the list of jasmine-ajax contributors

* Fix a linter issue in jasmine-ajax

* Address remarks by @sheetalkamat (#37804)

* Add missing parameter to JasmineAjaxRequest.responseError (#37804)
2019-09-03 06:14:03 -07:00
Simon Knott e9e404ac8e [react-native] Add alertTitle parameter to presentLocalNotification (#38082)
* Add `alertTitle` parameter to `presentLocalNotification`

See https://github.com/facebook/react-native-website/pull/1208

* Add test for `PushNotificationIOS.presentLocalNotification`

* Remove trailing whitespaces
2019-09-03 10:37:27 +02:00
Theo de Villeneuve 7ab8cb6cad [@types/react-native] Add dispatchViewManagerCommand missing types definition (#37835)
* Add dispatchViewManagerCommand missing types definition

* Add definitions by

* Fix lint errors

* Fix: indentations
2019-09-02 12:59:32 +02:00
Mike Hardy f764e7d5b7 [@types/react-native] AccessibilityInfo needs forward port to RN0.60 API (#37745)
AccessibilityInfo was expanded between RN59 and RN60 to include lots
of accessibility feature information beyond just screen reader status.

This updates the typings to match the docs: https://facebook.github.io/react-native/docs/accessibilityinfo

The old API exists and remains here, marked as deprecated to match react-native
2019-08-30 13:12:12 +02:00
mlucic 14c95a92a8 Fixes Long type (#37981) 2019-08-30 00:01:52 -07:00
Seb Insua 0e4a03363c Fix testing-library__cypress by exposing @testing-library/dom#configure function (#38016)
* Use prettier on testing-library__cypress

* Fix testing-library__cypress by exposing @testing-library/dom#configure function
2019-08-29 23:57:40 -07:00
Sebastian Mauer 237d32828b Fix JsSIP event handler definition (#38022)
* Fix JsSIP event handler definition

* Fix formatting
2019-08-29 23:21:54 -07:00
Cooper Benson f1974f24ea Adding Date type to Primitive (#38020) 2019-08-29 23:16:43 -07:00
Trivikram Kamat 51381d5db3 [@types/node] extends stream.Transform in crypto (#37945) 2019-08-29 21:47:33 -07:00
Elizabeth Samuel 6a5e87ea54 [office-js] [office-js-preview] (Outlook) Refine event.completed desc… (#37961)
* [office-js] [office-js-preview] (Outlook) Refine event.completed description

* Add beta tags
2019-08-29 21:43:05 -07:00
Ryan Blackman 846d821ff5 Allow steps to be nested under google.maps.DirectionsLeg (#37963) 2019-08-29 18:05:09 -07:00
dinodeSimon 0d45a2d5af [@types/mongoose] Add missing autoCreate?: boolean to ConnectionOptions type (#37853)
* Add autocreate to ConnectionOptions

https://mongoosejs.com/docs/guide.html#autoCreate was not included in types for Mongoose

* Update mongoose-tests.ts

* Update mongoose-tests.ts

* Update index.d.ts
2019-08-29 18:04:35 -07:00
Dima Zvazhii 25cf01cfd3 new @types/flexmonster version update (#37973)
* Added options.chart.axisShortNumberFormat

* validateFormulas option in Flexmonster

* new option properties were added

showFieldListSearch
strictDataTypes

* Added ContextMenuItem.class

* ExportOptions.fontUrl

* Options.caseSensitiveMembers

* new API call added

new API call openCalculatedValueEditor

* requestHeader was renamed into requestHeaders

* Update index.d.ts

simplifyFieldListFolders

* Update index.d.ts

validateReportFiles

* Update index.d.ts

filter.liveSearch

* update getData callbacks

* Update index.d.ts

* added levels for getAllHierarchies() API

* Level definition update

* CellData properties update (+ recordID, + rowData)

* Added dataSource.type

* "Definitions by" were updated

* report object extended with "version" and "creationDate"
2019-08-29 18:03:23 -07:00
Peter Uchenna EsenwaandHaroen Viaene babee68461 fix-typoTolerance-type-declaration-in-algoliasearch (#37967)
* Fix 'typoTolerance' type in algoliasearch

QueryParameters.typoTolerance accepts boolean and string values but only boolean was specified in its type declaration

* Update types/algoliasearch/index.d.ts

Narrow typoTolerance type declaration

Co-Authored-By: Haroen Viaene <fingebimus@me.com>
2019-08-29 18:02:25 -07:00
Cornelis Heuperman c88c21cfc9 Add Rackspace to pkgcloud's storage providers (#37951) 2019-08-29 18:01:49 -07:00
Jeremy Forsythe 022f8a9727 [pino-http] Add new autoLogging flag from v4.3.0 (#37975)
* [pino-http] Add new flag from v4.3.0

See https://github.com/pinojs/pino-http/pull/70
See https://github.com/pinojs/pino-http/releases/tag/v4.3.0

* bump version
2019-08-29 18:01:00 -07:00