Commit Graph
62627 Commits
Author SHA1 Message Date
James DiGioia e4eadf6935 Fixed type for Kefir.Observable#takeUntilBy (#35743)
The return value of this method is an Observable of the same type
as the source. Because the test uses the same type twice, change
the test to use different types so the test asserts the return value
has the correct type.
2019-05-28 12:15:29 -07:00
Laurin Quast ee88bfac27 feat(slonik): improve IntegrityConstraintViolationError typings (#35691)
* feat(slonik): improve IntegrityConstraintViolationError typings

adjust types according to https://github.com/gajus/slonik/blob/706dd96c4d7f9815558e0f54d2e527a140a1481b/src/errors.js#L59

* fix(slonik): tests

* fix(slonik): tslint errors

* feat(slonik): add missing errors and class properties
2019-05-28 12:15:10 -07:00
Alex 37b081e89f ramda: add number key type to zipObj (#35717)
* ramda: add number key type to zipObj

* Add tests for zipObj

* Remove trailing whitespace

* Remove trailing whitespace
2019-05-28 12:14:52 -07:00
Juanjo Diaz 4673dba6fe Fix some issues with the json2csv types (#35749) 2019-05-28 12:13:45 -07:00
Andreas Opferkuch f8efb2f7af [@types/ioredis] Correct callback types for zrank & zrevrank (#35753)
Both zrank and zrevrank return null if a member cannot be found.
2019-05-28 12:13:21 -07:00
Alexander Sushkevich 908390e723 DateRangePicker type and test added (#35599) 2019-05-28 12:13:00 -07:00
benbryant0 a6ec3aac93 [@types/react-virtualized] Use correct types for two props (#35756)
* [@types/react-virtualized] Use correct type for headerRowRenderer function

* [@types/react-virtualized] Use correct types for onRowsRendered params
2019-05-28 12:11:42 -07:00
Andreas Opferkuch 5a480588a3 [@types/redis] Correct callback types for zrank & zrevrank (#35751)
Both zrank and zrevrank actually call the callback with null if a
member cannot be found, not undefined.
2019-05-28 12:11:09 -07:00
Miklós András Danka 6cda797334 Update type definitions with changes from Luxon 1.13 to 1.15 (#35760)
* Added changes from Luxon 1.14 and 1.15

* Removed patch version from header

* Added new definition author
2019-05-28 11:59:45 -07:00
wertzui b22b47cf53 chart.js added types to generateLabels function (#35630)
* chart.js added types to generateLabels function

* It is Chart, not ChartData
2019-05-28 11:59:14 -07:00
jeromegervais 3b24fc8aa6 fix typo on theme for mermaidAPI (#35649) 2019-05-28 11:57:35 -07:00
Sylvain Tissier 0c9ced6276 Add missing property to Params interface (#35762) 2019-05-28 11:57:19 -07:00
Barend Bootha 54d911076b [@types/dynogels] fix/allow multiple types as per Joi validation in dynogels (#35765) 2019-05-28 11:56:00 -07:00
Slaven Tomac 9b220a15cb Added widthConstraint options to NodeOptions and fixed linting issues (#35683)
* Added widthConstraint for nodeOptions

* Updated definitions

* Added tests

* Fixed lint issues

* Applied warnings from lint
2019-05-28 11:55:25 -07:00
Tom 25cd244dc8 Feature/dialogflow context fix (#35726)
* Updated Context type per google.cloud.dialogflow.v2 docs (Struct, Value, non-generic fields)

* nodejs-dialogflow project is at 0.9.1
2019-05-28 11:54:39 -07:00
sebastianwitthus 1fe4a61823 fabric: Add freeDrawingBrush to StaticCanvas. (#35778)
* Add freeDrawingBrush.

Add freedrawingBrush property to StaticCanvas class and accompanying FreeDrawingBrush interface.

* Fix whitespace and implicit public.

* Remove 'public' modifiers on FreeDrawingBrush

* Remove implicit public and whitespace -> tab.
2019-05-28 11:53:10 -07:00
Matt 035ef670e2 [gremlin] Modularize into namespaces (#35761) 2019-05-28 11:42:54 -07:00
Dmitry Demensky f5d41d7eeb [googlemaps] Enable strict-export-declare-modifiers rule (#35603) 2019-05-28 11:34:10 -07:00
TypeScript Bot d21b04eb2a Update CODEOWNERS (#35744) 2019-05-28 09:34:20 -07:00
Nathan Shively-Sanders 4ee012d1b2 Update project urls (#35785) 2019-05-28 09:32:10 -07:00
Alex Powell aed4ee517f Stripe connect account & charge definition updates (#35040)
* Business & individual account type objects.

* Adding account settings definitions.

* Adding account business profile and account token definitions.

* Removing top level account object properties in line with API updates.
https://stripe.com/docs/upgrades#2019-02-19

* Updating tests.
Adding missing statement_descriptor definition to account payout settings.

* Fixing linting fail.

* Updating IChargeCreationOptions interface to include transfer_data object definition.

* Removing account legal_entity definition in accordance with API updates.

* Charge destination amount marked as optional.

* Adding some stripe tests.

* Post-merge fixes.

* Implementing IAddress in place of duplicate address objects.

* Bumping stripe package version since it includes potentially breaking changes.

* Creating IAddressKana and IAddressKanji interfaces.

* Moving account_token property to IAccountUpdateOptions interface.

* Correcting properties based on account fetch response.

* `id_provided` fields should be optional as they're only returned from a fetch operation, and should not be supplied during a create or update.

* Splitting out account company and individual objects into interfaces.

* Fixing lint errors.

* Removing SimonSchick from Stripe maintainer list per his request.
2019-05-27 02:12:38 -07:00
James Garbutt 86303f134e sinon: make calledWith partial (#34048)
* sinon: make calledWith partial

* sinon: only recursively allow matchers for objects

* sinon: clean up non-generic bases

* Revert "Extract inspectable spy API into own interface"

This reverts commit e63af8d856.

* remove default args

* remove default targs

* use any for this only

* reintroduce args param

* use any for single use targs
2019-05-25 14:32:43 -07:00
David 7ff648e68b Differentiate between model/document and query populate options (#35725) 2019-05-24 16:01:40 -07:00
Stuart HeapandDan Rumney 11b03605ce [@types/pdfmake] extended background definition for other content types (#35323)
* extended background definition for other content types

* make background type definition more readable

Co-Authored-By: Dan Rumney <dancrumb@gmail.com>
2019-05-24 14:01:22 -07:00
Valentin FunkandHaroen Viaene e11f807ce1 @types/algoliasearch-helper: Add missing method getQueryParams to SearchParameters (#35685)
* fix(SearchParameters): add missing types for getQueryParams

Adds typings for method getQueryParams() from https://github.com/algolia/algoliasearch-helper-js/blob/develop/src/SearchParameters/index.js#L1534

* fix: return QueryParameters from getQueryParams instead of any

Co-Authored-By: Haroen Viaene <fingebimus@me.com>

* fix: add tests, use mapped types for managedParameters

* chore: fix lint error
2019-05-24 14:00:42 -07:00
blackyale 91a56e58b7 heroku-logger: Fixed prefix type and return type from constructor (#35714)
* Fix heroku-logger prefix and return type from constructor

* Increased version number

* fixed extra whitespaces
2019-05-24 13:58:21 -07:00
Leonard Hecker 3c7c5b79aa [bluebird] Restore assignability to native Promises (fixes #11027) (#34805)
* [bluebird] Rename import to Bluebird for tests

* [bluebird] Restore assignability to native Promises

* [bluebird] Upgrade TypeScript Versions of all dependents
2019-05-24 13:57:50 -07:00
Mark Nelissen dad14da7ea react big calender event fields not mandatory (#35721)
* react big calender event fields not mandatory

* add name
2019-05-24 13:57:14 -07:00
grgr-dkrk 8b692ca490 [@types/react-aria-modal] Add type difinitions for require one parameter of 'titleId' or 'titleText' (and not both). (#35560) 2019-05-24 13:55:36 -07:00
Tyrone Dougherty 64d5f9c5f7 @types/cookie - Add 'none' as a valid value for sameSite of the CookieSerializeOptions (#35570)
* @types/cookie - Add 'none' as a valid value for sameSite of the CookieSerializeOptions

* @types/cookie - Add documentation for 'none' SameSite option
2019-05-24 13:54:42 -07:00
Zhang Yi Jiang ebf0e7e257 [react-input-autosize] Only accept callback style refs (#35555) 2019-05-24 13:53:55 -07:00
Syncfusion-JavaScript b749ebfe18 17.1.47 added (#35474)
* 17.1.47 added

* header changes
header changes
header changes

* modified ts file

* Changed format to ANSI

* Removed blankline
2019-05-24 13:51:29 -07:00
Christopher Eck 5aeb745474 Update Subscription related objects to support billing thresholds and initial invoice (#35549) 2019-05-24 13:50:22 -07:00
Alexander Maschas d1ed9f29c6 [@types/koa-bodyparser] Make body parameter on koa module definition optional (#35545)
* Make body paramter on koa module optional

* updating version
2019-05-24 13:49:39 -07:00
Colin Chang 7b441fd760 [jasmine-ajax] add object return type to JasmineAjaxRequest.data() (#35548) 2019-05-24 13:49:11 -07:00
Rifa'i M. Hanif 1dcb8e6da3 [@types/ol] Update to openlayers 5.3 (#35445)
* [@types/ol] Update to openlayers 5.3

* [@types/ol] fix case sensitive

* [@types/ol] fix case sensitive
2019-05-24 13:42:05 -07:00
Matt 7867516b25 Add gremlin (#35680)
* Add @types/gremlin

* Lint gremlin

* Test gremlin
2019-05-24 13:38:54 -07:00
Wolfgang Faust f506e66ccb Add @types/compare-function. (#35702) 2019-05-24 13:32:28 -07:00
Piotr Roszatycki 9cf9f56dd4 dkim-signer: new typings (#35715)
* dkim-signer: new typings

* dkim-signer: test uses $ExpectType
2019-05-24 13:31:38 -07:00
Alex Lomia 94859ab644 add typings for storybook-react-router (#35705) 2019-05-24 13:29:17 -07:00
Gerasimos (Makis) Maropoulos c21db0d66d Added declarations for 'neffos.js'. (#35720)
* Added declarations for 'neffos.js'.

* add a type test

* npm run lint package-name and fix some issues

* set strictFunctionTypes to true (a note: this field is not generated automatically by the dts-gen tool)
2019-05-24 13:26:30 -07:00
khalilchoudhry 9d22a46cd3 Fixed QueryResult Property - Dialogflow (#35575)
* allRequiredParamsSent is undefined.
Changed it to actual property: allRequiredParamsPresent

* comma and trailing space removed.
2019-05-24 09:58:53 -07:00
Braiden Cutforth bda5210e03 [@types/enzyme] Add missing optional callback arg to setProps (#35700)
* Add missing optional callback arg to setProps

* Fix missing semicolon
2019-05-24 09:58:35 -07:00
Katsuya Hino a4e6a7babb [webpack-dev-server] Use HistoryApiFallbackOptions from connect-history-api-fallback (#35673) 2019-05-24 09:55:12 -07:00
Bryan Huang 40e2b2c1a4 Upgrade to Viewer v6.6 (#35674)
* Upgrade to Viewer v6.6

* Bump version number

* Add missing initializer options
2019-05-24 09:54:25 -07:00
George Cheng a716c30399 react-native-material-kit: Fix Switch prop types (#35682) 2019-05-24 09:53:48 -07:00
George Cheng 6f81fc2a69 react-native-indicators: add missing common props (#35684) 2019-05-24 09:53:12 -07:00
Summon528andSean Zhu 4d63b62600 [linkifyjs] Add types for some more interfaces (#35573)
* Add type definitions for "linkifyjs/string"

* Add type definitions for "linkifyjs/element"

* Update linkifyjs/tsconfig

* Update types/linkifyjs/tsconfig.json

Co-Authored-By: Sean Zhu <interestinglythere@gmail.com>

* Remove trailing comman

* Explicitly specify LinkifyOptions in test

* Link doc in test
2019-05-24 09:47:04 -07:00
Konrad Borowski 23dff03111 Port is optional for listen function in express (#35536) 2019-05-24 09:42:39 -07:00
Hsu Ching Feng bc9a135f93 mongoose: add Query.maxTimeMS() (#35677) 2019-05-24 09:42:12 -07:00