Commit Graph
64268 Commits
Author SHA1 Message Date
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
Manfred Steiner 9f28d6bb69 [ldapjs] class OperationsError added (#37922) 2019-08-29 17:58:27 -07:00
Roman 85fc6a7daa [chroma-js] Fix return type of alpha method and add valid (#37819)
* Fix return type of `alpha` method

* Add static `valid` method
2019-08-29 17:54:39 -07:00
Craig Weber 9f18dc6b30 Add aria-modal attribute to react-modal types (#37980) 2019-08-29 17:52:47 -07:00
Janne Ramstedt 16bfebc985 [p2.js] BoxOptions to extend SharedShapeOptions (#37986) 2019-08-29 17:49:52 -07:00
Dominique Rau 10af0f5225 feat(pino): remove addLevel which does not exist (#37988)
* feat(pino): remove addLevel which does not exist

* feat(pino): remove add test
2019-08-29 17:32:21 -07:00
louis-murray b4d70e1e77 [openid-client] client types (#37968)
* correct openid types

* add tests and update refresh params

* fix linting problems in openid-client

* fix: more lint issues for openid-client

* reformat

* fix: indentation

* running prettier directly to make sure the changes are entirely in line

* add a generic property since TokenSet is composable

* change any to unknown

* remove unused local variable
2019-08-29 10:42:23 -07:00
elvis-wolcott 81d59d6e17 Fix types for emoji-mart emojiIndex (#37966)
* fix types for emojiIndex

* run prettier

* bump minor version to latest

* alphabetize exports

* use EmojiSkin as index for EmojiEntry

* move TS 2.9 to support `[index in union]` syntax
2019-08-28 20:17:18 -07:00
Rolands Jegorovs ec7c6ded2a Update return types of list, listSafe to also return array of strings (#37992) 2019-08-28 20:09:55 -07:00
Lucjan Suski 67544cef20 Channel off method has an optional second param (#37978)
https://hexdocs.pm/phoenix/js/#channeloff
2019-08-28 17:57:36 -07:00
Jeffery Grajkowski 72a9c1d9c3 stripe: Charge, Customer, CustomerTaxId updates (#37965)
* Added missing params to Charge, Customer and related create and update options.  Adding Customer Tax Id.

* Fix build errors that aren't caught by `npm run lint stripe`.
2019-08-28 17:43:52 -07:00
Igor Strebezhev 4feea74355 Update missing options fields at xml2json (#37954)
* Update missing options fields at xml2json

Options are described here:
https://github.com/buglabs/node-xml2json/blob/98272646816c5f5747970ee6906e206c1fdd6082/README.md

* Update index.d.ts
2019-08-28 16:53:32 -07:00
Janne Ramstedt 4f7cfcddbd Added missing angularDamping (#37985) 2019-08-28 16:01:29 -07:00
mattb-prg a7e8fa6b54 Add types for koa-ejs (#37949)
* Add types for koa-ejs

* Make layout optional
2019-08-27 16:33:59 -07:00
Dan Lichty 435b89edfa [stripe] bank account creation requires object: "bank_account" (#37956) 2019-08-27 16:30:24 -07:00
Tom Yam c860c1dc7b [@types/mongoose] Revert source type of model constructor to any (#37823)
The type checking added to the model constructor by richarddd in

26587aa3aa
22761c884a

Causes valid code not to pass type checking with not way of allowing it.

As described in issue 37088:

1. It doesn't allow string as source for ObjectId, Date, boolean, nubmer, etc.
2. It doesn't allow settings the constructor type of a document.

All of this are valid use cases for mongoose and the type checking should not
prevent them.

PR 37763 by richarddd tries to solve this issue but it still doesn't allow
string as source for ObjectId.

As shown in https://github.com/DefinitelyTyped/DefinitelyTyped/issues/37088#issuecomment-522889112

Stricter type checking for the source of a document can be a good thing, but the
current solution by richarddd is too complex and doesn't work.
2019-08-27 16:22:35 -07:00
stheophil 5fce6feb8f Both Worksheet and Dashboard classes extend Sheet class (#37820)
For reference, see
https://help.tableau.com/current/api/js_api/en-us/JavaScriptAPI/js_api_ref.htm#sheet_classes
2019-08-27 16:07:34 -07:00
Daniel McNally 8c64582b6d Add types for distributions-poisson-quantile (#37955) 2019-08-27 16:05:34 -07:00
Shawn Choi 1a82bc43d0 Add is-even module type definition (#37929) 2019-08-27 15:59:26 -07:00
wkl 37fcb734f3 Add types for lyric-parser (#37944) 2019-08-27 15:54:19 -07:00