Commit Graph
64242 Commits
Author SHA1 Message Date
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
Taiju Muto 522cf00303 Add props to react-big-calendar's withDragAndDropProps. (#37942) 2019-08-27 14:59:00 -07:00
Dan Lichty e9c7cdec32 various nullable/optional properties (#37935)
- for ISubscription, ISubscriptionItem, IPlan, ITier
2019-08-27 13:36:27 -07:00
Kerollos Magdy a18db6fbae fix a typo in JSDoc (#37913) 2019-08-27 11:33:28 -07:00
Vincent Côté-Roy ad07ff4d74 chromecast-caf-sender: add __onGCastApiAvailable (#37937)
* chromecast-caf-sender: add __onGCastApiAvailable

* PR fixes
2019-08-27 11:32:47 -07:00
Henrik Raitasola 1396ff01b4 [lodash] Add missing multiply import (#37857)
* Add missing multiply import

* Add to list

* Add also under 3.1 folder

* Add multiply module
2019-08-27 11:13:16 -07:00
Nathan Shively-Sanders 2e8a04fe18 Add graphql peer dependencies (#37928)
* Add graphql peer dependencies

Apollo has a peer dependency on graphql, but several DT packages don't
install it. This fixes that.

* Bump required TS version to 2.8

* Bump version to 3.0
2019-08-27 09:07:50 -07:00
Julian Gonggrijp e1498ebe71 Add the missing Store instance to backbone-relational (#37926)
* Add tests for backbone-relational's exported Store instance

* Add the missing store export to backbone-relational

* Fix the typing of Store.unregister in backbone-relational

* Disable use-default-type-parameter linter rule in backbone-relational

The linter gives an unwarranted error: it complains that Model is the
default type parameter of Collection on line 165, column 41 of the
index.d.ts. While it is true that the default parameter is called
Model, the type in question has been renamed to BModel in the current
module.

* Disable the linter rule in the correct way (see b1deb1c2)
2019-08-26 18:09:15 -07:00
mtgto e4a1a6437c Fix google-apps-script console.log/info/error (#36646) (#37918)
* Fix google-apps-script console (#36646)

* [@types/google-apps-script] Fix the definitions about format console (#36646)
2019-08-26 17:59:11 -07:00
Ivan Goncharov 5a17a5ea7c Remove @types/express-graphql (#37883) 2019-08-26 17:48:05 -07:00
Saeid Rezaei 2dec200c95 enhance blobSlice definition. (#37921) 2019-08-26 17:42:39 -07:00
TypeScript Bot 396247807a Update CODEOWNERS (#37933) 2019-08-26 11:22:29 -07:00
Stan Kurek 8590aaecf8 Added type definitions for smartwizard (#37895)
* Added type definitions for smartwizard

* Correct package name in the header
2019-08-26 09:49:10 -07:00
Elian Cordoba 296094758a Added 'scale' property used by the radio chart (#37614) 2019-08-26 08:46:19 -07:00
AndreaCimini eb7e43955d updated leaflet-curve definition (#37795) 2019-08-26 08:41:41 -07:00
Daniel Nixon b167c4b6a9 Allow html element in addition to string (#37794) 2019-08-26 08:40:59 -07:00
Doma 10035b1b26 fix BMap.PolygonOptions['strokeStyle'] (#37914)
See [documentation](http://lbsyun.baidu.com/cms/jsapi/reference/jsapi_reference.html#a3b15).
2019-08-26 08:36:44 -07:00
jrvjrv a0f7707f05 added new property for interface Config: securityLevel? (#37787) 2019-08-26 08:34:26 -07:00
Gabrielle Dias e9bbee4610 react-aria-modal: Changes to onExit, it should be optional (#37785) 2019-08-26 08:33:27 -07:00
Patrick Ellis 9d722f4c95 [stripe-v3] Add payment_source attribute to PaymentIntent (#37777) 2019-08-26 08:32:52 -07:00
Alexandre Cordeiro Moraes 9d448c8b05 [@types/restify] Implementing 'serveStaticFiles' from restify@8 (#37774)
* Implementing 'serveStaticFiles' from restify@8

* Changes from husky
2019-08-26 08:32:27 -07:00
iamolegga 8fc95ac32d [express-pino-logger] new library (#37906) 2019-08-26 08:31:28 -07:00
Jakub Jirutka c2426c074c node-cleanup: Allow handler returning void (#37743)
node-cleanup accepts even handlers that doesn't return anything.
2019-08-26 08:29:27 -07:00
Matthew Peveler b99942eb5a Add types for node-vagrant (#37905) 2019-08-26 08:27:39 -07:00
Meow b2663641d9 [mathjs] add pickRandom return type (#37762) 2019-08-26 08:23:57 -07:00
Tristan Penman 1e5bee16dc Update typings for signalr-no-jquery to include stop method (#37759) 2019-08-26 08:23:21 -07:00
Michael de Wit 15289fd4ac Add types for stream-fork (#37891) 2019-08-26 08:18:53 -07:00