Commit Graph
66275 Commits
Author SHA1 Message Date
Bas BosmanandPranav Senthilnathan 58c168c373 Update karma dependency (#40395)
Karma is using `log4j@^4.0.0`, see https://github.com/karma-runner/karma/blob/master/package.json#L407
2019-11-15 17:15:58 -08:00
PeterJFerrarottoandPranav Senthilnathan 3b55a2cc8a [@types/cytoscape] Adding missing EdgeLine and Gradient style properties (#40343)
* [@types/cytoscape] Added missing EdgeLine style properties

* [@types/cytoscape] Abiding by linter specifications and readme specifications

* [@types/cytoscape] split gradient properties into separate interface

* Fixing for linter
2019-11-15 17:09:59 -08:00
AankhenandPranav Senthilnathan 54066ceaf2 Rewrite Roarr types to approximate extant Flow types. (#40231) 2019-11-15 16:59:29 -08:00
Alan Christopher ThomasandPranav Senthilnathan ca5bcb9f1c Add sameSite property to Cookie interface (#40422) 2019-11-15 16:47:04 -08:00
Steve JohnsandPranav Senthilnathan 85eacf4d39 add @xstyled/system typings (#40416)
* add @xstyled/system typings

* pr feedback - bump package version
2019-11-15 16:40:16 -08:00
Jan Peer StöcklmairandPranav Senthilnathan 52e8f1fad6 [use-deep-compare-effect] Add package (#40353)
* Feat: add useDeepCompareEffect

* Fix: change requests and wrong export
2019-11-15 16:31:38 -08:00
JerryHongandPranav Senthilnathan 3a9e538b43 [@types/styled-system__theme-get] Add @styled-system/theme-get type (#40275)
* Add @styled-system/theme-get type

* Remove devDependency

* Add semicolon

* Remove package.json
2019-11-15 16:29:41 -08:00
Ashley AbbottandPranav Senthilnathan dbb2bb1731 bunyan-format: Add merged function declaration to support calling default export as a function (#40257)
* Add merged function declaration to support calling as a function

Signed-off-by: Ashley Abbott <ashpabb@gmail.com>

* Add tests for function call

Signed-off-by: Ashley Abbott <ashpabb@gmail.com>

* Add contributor and set Typescript Version to 3.6

Signed-off-by: Ashley Abbott <ashpabb@gmail.com>

* Missing line ending for tests.ts

Signed-off-by: Ashley Abbott <ashpabb@gmail.com>

* Update library version number

Signed-off-by: Ashley Abbott <ashpabb@gmail.com>

* Removing patch version from index.d.ts to satisfy Jenkins constraints

Signed-off-by: Ashley Abbott <ashpabb@gmail.com>
2019-11-15 16:24:24 -08:00
kwzmandPranav Senthilnathan d4e9d64729 Add types for react-photoswipe (#40175)
* Add types for react-photoswipe

* Fix bug in react-photoswipe

Modify typescript version annotation

* fix dtslint errors

* add semicolon and ts version

* remove ts version in test file

* remove exported functions
2019-11-15 15:45:51 -08:00
1fa034cbd8 Add types for compute-argmax (#40313)
* Add types for compute-argmax

* Update types/compute-argmax/index.d.ts

Co-Authored-By: Dmitry Demensky <10235949+demensky@users.noreply.github.com>
2019-11-15 15:39:36 -08:00
Chris WilkinsonandPranav Senthilnathan f380829c5c [indefinite] Fix export and add new option (#40238)
* Fix indefinite export and add new option

* Update version

* CS fix

* Fix link

* Change exports
2019-11-15 15:17:56 -08:00
TypeScript BotandNathan Shively-Sanders 4148bdb45a Update CODEOWNERS (#40421) 2019-11-15 15:08:05 -08:00
Mauricio AspiazoandPranav Senthilnathan d759d9ef04 [@types/react-data-grid] Adding missing types to support Tree Views (#40279)
* Adding missing types to support trees for react-data-grid

* Applying minor changes as suggested by SupernaviX
2019-11-15 14:41:35 -08:00
Divyun Raje VaidandPranav Senthilnathan 5eeff62e2c [PubNub] Adds typings for MessageActions and Push. Updates typing for Storage & Playback. (#40379)
* feat(pubnub): adds typings for message actions

* feat(pubnub): updates typings for storage and playback

* feat(pubnub): adds typing for push notifications

https://github.com/DefinitelyTyped/DefinitelyTyped/issues/40206
2019-11-15 14:40:44 -08:00
Kevin BrownandPranav Senthilnathan 4b607f45c4 Added rudimentary types for @keystonejs/* (#40316)
* Added rudimentary types for KeystoneJS

* Fixed version on auth-passport and added additional auth strategy types.

* Added definition for getInputFragment, removed public access specifier.
2019-11-15 14:18:44 -08:00
Nathan Shively-SandersandGitHub 95dce3019d Fix relative paths in tests, part 2 (#40423)
* Fix relative paths in tests, part 2

* revert lodash change
2019-11-15 14:14:18 -08:00
Kwok Chi LeongandPranav Senthilnathan dbb7ff8e17 [workbox] Added type definitions for all packages (#40277)
* [workbox-core] Added type definitions

* [workbox-core] Updated ts-doc

* [workbox-core] Added types.d.ts

* [workbox-core] Removed TSDoc

* [workbox-core] Moved some types

* [workbox-core] Bug fixes

* [workbox-expiration] Added type definitions

* [workbox-strategies] Added type definitions

* [workbox-strategies] Change "es6" to "es2015"

* [workbox-precaching] Added type definitions

* [workbox-precaching] Added missing method

* [workbox-core] Moved some files to a sub-folder

* [workbox-core] Moved some files to a sub-folder

* [workbox-precaching] Moved some file to sub-folder

* [workbox-core] Added generic type support

* [workbox-routing] Added type definitions

* [workbox-routing] Changed from "es6" to "es2015"

* [workbox-background-sync] Added type definitions

* [workbox-google-analytics] Added type definitions

* [workbox-cacheable-response] Added type definition

* [workbox-broadcast-update] Added type definitions

* [workbox-range-requests] Added type definitions

* [workbox-streams] Added type definitions

* [workbox-streams] Added "use strict" to tests

* [workbox-navigation-preload] Added type definition

* [workbox-precaching] Added the missing type def...
* Added the missing type definitions

* [workbox-precaching] Commented the upcoming
properties

* [workbox-routing] Added the missing type
definitions

* [workbox-strategies] Changed package references

* [workbox-expiration] Added the missing tests

* [workbox-strategies] Updated tests

* [workbox-background-sync] Fixed wrong file name

* [workbox-google-analytics] Updated tests

* [workbox-cacheable-response] Fixed the incorrectly
named files

* [workbox-broadcast-update] Fixed the incorrectly
named files

* [workbox-broadcast-update] Added the missing
function

* [workbox-broadcast-update] Fixed typo

* [workbox-navigation-preload] Updated tests

* [workbox-range-requests] Fixed the incorrectly named
files

* [workbox-streams] Updated tests

* [workbox-core] Updated tests

* [workbox-window] Updated tests and moved some
files

* [workbox-window] Updated "es6" to "es2015"

* [workbox-sw] Updated definition to make use of the newly added
definitions

* [workbox] Updated "Definitions by" field

* [workbox-sw] Updated rules

* [workbox] Updated version numbers

* [workbox-window] Fixed version number
2019-11-15 14:03:40 -08:00
Jose Luis LeonandPranav Senthilnathan c93e733426 Parametrizable request and response body types for ExpressJS routers (#39400) 2019-11-15 13:42:09 -08:00
Zach PostenandPranav Senthilnathan cca42c52f3 fix(react-filepond): Flip error and file args in callbacks (#40419)
This functionality seems to now have been corrected in FilePond.
2019-11-15 13:20:19 -08:00
Alexander TandPranav Senthilnathan f13238a5d2 base-x: Provides its own types (#39654)
* base-x: Provides its own types

* add @types/base-x to bs58/v3
2019-11-15 12:41:20 -08:00
AlexandPranav Senthilnathan 082c406d54 [@types/mongoose] Add missing validator, fix err message param (#40203) 2019-11-15 12:37:40 -08:00
Vesa PoikajärviandPranav Senthilnathan de73565ee1 [email-templates] More accurate types, less any (#40342)
* Less any, more hopefully correct types

email-templates and nodemailer both accept arguments in variety of formats.
Usedtypes from nodemailer types and and read both email-templates and
nodemailer documentation in orer to construct a better typedef

* Somewhat typed preview

* Some tests, pass the generics around

* Contributor

* Wrong type for views
2019-11-15 12:16:10 -08:00
Brad MurrayandPranav Senthilnathan 61ee030edd Update lolex types for new Async methods (#40282) 2019-11-15 12:02:58 -08:00
Robert KestesonandPranav Senthilnathan 3233bf674d [jira-client]: Updated export to match version 6.13 (#40202) 2019-11-15 12:00:29 -08:00
a3ef14ec54 Node: URL: correct format/parse parameter types (#40118)
* Node: URL: correct format/parse parameter types

* Fix dependencies

* Fix dependencies

* Revert href change

* Update types/node/url.d.ts

Co-Authored-By: ExE Boss <3889017+ExE-Boss@users.noreply.github.com>
2019-11-15 11:38:53 -08:00
Chris WilkinsonandPranav Senthilnathan 862d091f93 Add format-link-header (#40411) 2019-11-15 11:36:41 -08:00
Yuji TabataandPranav Senthilnathan 64e1898009 Add expandable field to ListItem (#40368) 2019-11-15 11:25:18 -08:00
Surya LawandPranav Senthilnathan 0cf9e5e912 Stripe: add off_session on IPaymentIntentCreationOptions (#40372) 2019-11-15 11:24:45 -08:00
Alexander TandPranav Senthilnathan 86ba659356 react-native-tab-view: Provides its own types (#39522)
* react-native-tab-view: Provides its own types

* usee @types/react-native-tab-view in react-router-navigation-core

* set @types/react-navigation@3.0.8
2019-11-15 11:17:47 -08:00
mcpar-landandPranav Senthilnathan d266a49bb1 Revised typings for accuracy (#40393) 2019-11-15 11:16:48 -08:00
Brandon RisellandPranav Senthilnathan f61dd79a12 RequestData should just have message types (#40396) 2019-11-15 11:14:37 -08:00
Federico BondandPranav Senthilnathan ab01840dfc [trezor-connect] update types (#40389) 2019-11-15 11:13:10 -08:00
Oliver Joseph AshandPranav Senthilnathan e4b9d77045 Lodash: add support for user-defined type guards to overSome and overEvery (#40247)
* Lodash: add support for user-defined type guards to `overSome` and `overEvery`

* Improve example
2019-11-15 11:12:23 -08:00
Alex JerabekandPranav Senthilnathan 92b0415393 Adding build fix information (#40392) 2019-11-15 11:11:30 -08:00
Aitor Pérez RodalandPranav Senthilnathan 5aa4accc98 [Luxon] Add Interval#toISODate, Interval#toISOTime and Duration#mapUnits (#40394)
* [Luxon] Add Interval#toISODate and Interval#toISOTime

* [Luxon] Add Duration#mapUnits

* Patch version not allowed
2019-11-15 11:10:22 -08:00
Kristofer SelbekkandPranav Senthilnathan 8f3259b103 Update types for react-collapse@5 (#40362) 2019-11-15 11:09:29 -08:00
Alexander TandPranav Senthilnathan 4ad5f6f918 jest-cli: Provides its own types (#39590) 2019-11-15 11:08:17 -08:00
Alexander PepperandPranav Senthilnathan 4728a425d9 [aws-lambda] Improved Lambda@Edge types (#40355)
* [aws-lambda] Extended CloudFrontRequestEvent with body

Source: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-event-structure.html
This key is optional. See https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-include-body-access.html for details

* [aws-lambda] Reordered keys in CloudFrontRequestEvent and CloudFrontResponseEvent.

This is done so they match the order of https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-event-structure.html

* [aws-lambda] CloudFrontEvent keys are all readonly.

Source: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-event-structure.html#lambda-event-structure-request

* [aws-lambda] CloudFrontRequest keys are now readonly.

Source: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-event-structure.html#lambda-event-structure-request

* [aws-lambda] Added jsdoc comment for CloudFrontRequestEvent and CloudFrontResponseEvent.

* [aws-lambda] requestId is only available for viewer events

Source: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-event-structure.html

* [aws-lambda] request data of CloudFrontResponseEvent is readonly.

> If the Lambda function modifies the request object, the changes are ignored.

Source: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-event-structure.html#lambda-event-structure-response

* [aws-lambda] Added jsdoc comment for CloudFrontResultResponse

Also corrected link

* [aws-lambda] Added apepper as co-author

* [aws-lambda] TypeScript version is now 3.5 in order to user "Omit<>"

See https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-5.html#the-omit-helper-type

Also bumped TypeScript version in packages, that do depend on "aws-lambda".

* [aws-lambda] Use "older" Pick/Exclude instead of "newer" Omit

Omit<> is introduced in 3.5 and is "too new". Exclude<> instead is introduced in 2.8, which is "old enough".

* [aws-lambda] Downgraded TypeScript version to 2.8, so Exclude can be used.

Omit<> which is introduced in 3.5 is "too new". Using Exclude<> instead, that got introduced in 2.8 (see [1])

[1] https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-8.html#predefined-conditional-types
2019-11-15 11:07:23 -08:00
Kyle HenselandPranav Senthilnathan eab2d9b7da Reference dom lib (#40315) 2019-11-15 11:05:04 -08:00
Rubens PinheiroandPranav Senthilnathan c13521e2fe [webpack] Adding client config options to the ConfigurationFactory (#40298)
* [webpack] Adding client config options

* Fix on interface
2019-11-15 11:01:16 -08:00
Anders HejlsbergandGitHub 71381a8470 Prepare for TS #34927 (#40365)
* Update mergerino/mergerino-tests.ts

* Update styled-system__css/styled-system__css-tests.ts

* Update xml/index.d.ts
2019-11-15 10:59:28 -08:00
Nathan Shively-SandersandGitHub 12c3ce0d4f Fix relative paths in tests, part 1 (#40420)
* Fix relative paths in tests, attempt 1

* revert athenajs change
2019-11-15 09:19:40 -08:00
Nathan Shively-SandersandGitHub 9314b64275 Streamline references to old Typescript versions. (#40418)
Also mention triple-slash `types` references.
2019-11-15 08:46:48 -08:00
Ethan VeresandEloy Durán 9f57df89f3 [relay-runtime] Correct typing for default missing field handlers (#40361)
* Correct typing for default missing field handlers

* default export
2019-11-15 08:21:30 +01:00
Gregor MartynusandPranav Senthilnathan d36a3b44e4 [fetch-mock v7.4.0] Add options.body for request body matching (#40133)
* add tests for request body matching

feature added in https://github.com/wheresrhys/fetch-mock/pull/448

* add `options.body` for request body matching

See https://github.com/wheresrhys/fetch-mock/pull/448/files

* add test to match request body to array
2019-11-14 16:11:16 -08:00
Pat LillisandPranav Senthilnathan c8287ed1e7 [@types/nuclear-js] Make sure interfaces are exported (#40386)
* Make sure interfaces are exported

* Fix some lint warnings
2019-11-14 16:08:26 -08:00
Łukasz FiszerandPranav Senthilnathan 415e680187 react-query: improve types for useQuery in paginated mode (#40399)
* react-query: improve types for useQuery in paginated mode

* react-query: remove patch version from header
2019-11-14 15:50:17 -08:00
FredericandPranav Senthilnathan a2149e0650 Create types for sade (#40398) 2019-11-14 15:45:45 -08:00
Michael ShafirandPranav Senthilnathan 6061d28041 Add typings for the promise-hash library, v1.3 (#40331)
* Added typings for this promise-hash library

* pull out common type for the promise hash argument

* make recommended simplifications, expand test
2019-11-14 15:31:23 -08:00
Alexander TandPranav Senthilnathan b692892009 ladda: Provides its own types (#39668) 2019-11-14 13:49:19 -08:00