Commit Graph
62652 Commits
Author SHA1 Message Date
Moshe Kolodny 77f45609e6 [jasmine] Allow calling spyOn for class constructors and add AnyMethods type to jasmine namespace (#35483)
* Add AnyMethods to jasmine namespace

* ts-bot only checks top level index.d.ts files
2019-05-28 13:54:21 -07:00
Daniel Cassidy 5ce88a3373 prettier-package-json: Add type definitions (#35790) 2019-05-28 13:49:57 -07:00
immigration9 8ce8f37634 added type definitions for multireducer (#35776)
* added type definitions for multireducer

* added type definitions for multireducer fixed issues
2019-05-28 13:48:39 -07:00
Vincent DELACOURT 369612c7c8 Added react-native-version-check (#35769)
* Added react-native-version-check

* config problem (forget add extension to test file)
2019-05-28 13:44:22 -07:00
billytrend efc2561ca7 Add start function to nodegit Tree.walk return type (#35698)
* Add start function to Tree.walk return type

* Add test
2019-05-28 13:40:14 -07:00
breeze9527 46b4037bf0 New definition for non npm-package amap-js-api-driving (#35747)
* [amap-js-api] update to v1.4.14

* Add definition for non npm package: amap-js-api-district-search

* Add type definition for non npm-package amap-js-api-line-search

* Add type definition of non npm package amap-js-api-arrival-range

* New definition for non npm-package amap-js-api-driving
2019-05-28 13:30:00 -07:00
sahil-cb 9f60c235c4 Update types for Coinbase Commerce (#35666)
-Added USDC as a currency (launched 05/20/2019)
-Added 'CANCELED' to PaymentStatus (https://commerce.coinbase.com/docs/api/#charge-resource)
2019-05-28 13:12:53 -07:00
Christian Scheja 6d103e2102 @types/yeast: adding type definitions (#35728)
* @types/yeast: adding type definitions

* fix: npm test issues

* fix: declaration as UMD module
2019-05-28 13:05:25 -07:00
折腾笔记 231e2d5161 add class EditorContext for uni-app types (#35712)
* fix: getStoragetSync return value is incorrect.

* fix: The type of return value type of Storage is incorrect

* added parameter for GetStorageOptions.success

* added value parameter for setStorageSync

* fix setStorageSync with value: any

* update types for uni-app

* add class EditorContext for uni-app types

* fix lint for uni-app

* remove *.vue module for uni-app
2019-05-28 13:02:44 -07:00
PikachuEXE c3a16ffdf2 Create types: @types/js-captcha (#35686) 2019-05-28 13:00:45 -07:00
YellowKirby 8821e40a2e Add types for purdy@3.5 (#35679)
* [purdy] Add types for 3.5

* [purdy]: Don't ignore lint warning
2019-05-28 12:58:50 -07:00
Kamil Lewandowski fcc4f70ab2 Update index.d.ts (#35650)
* Update index.d.ts

* Update index.d.ts
2019-05-28 12:53:50 -07:00
Li Zhen 9e26db59d7 [@types/kos-core] Update definitions to fit the latest version (#35648)
* Update definition 'KosModel.asyncs'

* Fix a type bug

* Fit the new features

* Update action type

* Update definitions to fit new version.

* Format as lint

* Fix 'Bash exited with code \'1\'.'
2019-05-28 12:52:56 -07:00
Sam Lin 614b83fe75 update HostedFieldsField for braintree-web (#35638)
* update HostedFieldsField

https://braintree.github.io/braintree-web/current/module-braintree-web_hosted-fields.html#~field

* update maskInput type

* update maskInput comment
2019-05-28 12:51:01 -07:00
Remco Haszing b3a144d609 Add types for react-shadow-dom-retarget-events (#35200)
* Add types for react-shadow-dom-retarget-events

* Use esModuleInterop for react-shadow-dom-retarget-events
2019-05-28 12:40:26 -07:00
Sergio Arbeo ca6a7fe49a Improvements for chromecast-caf-receiver package. (#35703)
* Add cast.framework.events.category namespace

* Make cast.framework.messages.Command its own namespace

* Update HlsSegmentFormat values and add missing ones.

* Add cast global

* Add a few tests

* Lint

* Bump version
2019-05-28 12:24:16 -07:00
Chris Shaffer 32db7fc4ed Add missing types for aliases querystring.encode and querystring.decode to v12 & v11 (#35694)
* Added definitions - encode & decode aliases

These have existed since @ least v10 and are documented here: https://nodejs.org/api/querystring.html

* corrected order of comments for encode & decode

* Added definitions for encode & decode aliases

These have existed since at least v10 and are documented here:  https://nodejs.org/api/querystring.html

* corrected 'ParsedUrlQueryInput' & jsdoc comments

* Corrected jsdoc alignment

* Corrected jsdoc comment

* refactored encode and decode aliases with typeof
2019-05-28 12:21:54 -07:00
Domino987 04031dd4ae Added missing hover types to plotdata (#35718)
* Added missing types

This adds the missing 'y+text' combination and the hovertemplate prop to PlotData

* Fix whitespaces
2019-05-28 12:21:45 -07:00
Grant Timmerman d9576a981b [@types/google-apps-script] Fixes #32585. Removes lib.d.ts. (#35730)
* [@types/google-apps-script] Fixes #32585. Removes lib.d.ts.

* [google-apps-script] Fixes conflicting Date class
2019-05-28 12:20:52 -07:00
Piotr Roszatycki 204855e351 nodemailer: addressparser function has options argument (#35746) 2019-05-28 12:20:25 -07:00
Rusty Scrivens 7675cdfb56 [sarif] Updating to sarif sdk version 2.1.2 (#35786)
* update to Sarif Version 2.1.0-rtm.0

* Updating to Sarif sdk schema 2.1.2
2019-05-28 12:20:06 -07:00
Jasmin Bom 762453bd04 Fix various issues with how additionalProperties were handled (#35788) 2019-05-28 12:19:45 -07:00
Sarid ShinwariandGrzegorz Rozdzialik 7679d32d4c [@types/react-table] Generics for accessor and cell (#35668)
* [react-table] Generics for accessor and cell

* Update types/react-table/react-table-tests.tsx

Header name change. status -> progress for clarification

Co-Authored-By: Grzegorz Rozdzialik <voreny.gelio@gmail.com>
2019-05-28 12:18:45 -07:00
阿卡琳 38be717208 [@types/react] add template to IntrinsicElements (#35738) 2019-05-28 12:17:33 -07:00
Aras Abbasi 4176f2fee6 add missing createConfig to @types/dockerode (#35716)
* add missing createConfig

* remove whitespace
2019-05-28 12:16:07 -07:00
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