Commit Graph
63752 Commits
Author SHA1 Message Date
Florian Keller bb36642c70 Add types for dexie-batch (#37160) 2019-08-02 16:09:43 -07:00
Kevin Brown 388b2e06bd Added types for react-native-pdf-lib (#37314)
* Added types for react-native-pdf-lib.

* Making linter happy with default export.
2019-08-02 16:07:06 -07:00
Evans OwinoandRon Buckton 57cfe86813 Fix/update session send message (#37332)
* fix: update Session.sendMessage message arg types

* Update types/chrome/chrome-cast/index.d.ts

Co-Authored-By: Ron Buckton <ron.buckton@microsoft.com>
2019-08-02 16:05:43 -07:00
Elizabeth Samuel da343c312d [office-js] [office-js-preview] (Outlook) Update hostName values (#37328)
* [office-js] [office-js-preview] (Outlook) Update hostName values

* Update based on feedback
2019-08-02 16:04:59 -07:00
Tomasz Zabłocki a24d647874 [@types/redux-orm] correct throughFields property on many() object parameter (#37326)
fixes #37293
2019-08-02 16:03:36 -07:00
Levi Bostian db59d133e5 [express-mung] Add exports to types (#37302) 2019-08-02 16:02:39 -07:00
Bryan Huang be20e9eb28 Upgrade to Viewer v7 (#37316) 2019-08-02 16:01:36 -07:00
lemonJS fcdddfe6d8 Add two additional types for React Image Crop (#37317)
* Add additional types to ReactCropProps

* Update contributor list
2019-08-02 15:59:21 -07:00
John G. Gainfort, Jr 1026305052 added typings for vmap-js (#37272)
* added typings for vmap-js

* added github profile

* wrapped interfaces in namespace

* converting Object to any

* removed linting rule

* refactored following advice
2019-08-02 15:13:12 -07:00
gcangussu 122407580d Added number to removeOnFail on Bull JobOpts (#37315) 2019-08-02 14:38:19 -07:00
Mikhail Guskov d5064e0bc7 Add types for TreeRendererProps and NodeRendererProps interfaces (#37320) 2019-08-02 14:33:19 -07:00
Richard Honor d1974b1eeb [openid-client] Add more detailed types to introspection response as per RFC7662 (#37319)
* [openid-client] add more detailed types to introspection respose

* [openid-client] scope type as string

* Make additional responses unknown, and make types readonly
2019-08-02 14:30:07 -07:00
Greg Hurlman 641126b0a7 [powerapps-component-framework] Fix EntityReference type (#37298)
* Fix EntityReference.id type bug

* Added EntityReference test

* one more change

* Removed eof blank lines

* oops
2019-08-02 14:08:12 -07:00
Miroslav Petrik 6a29a62c87 [segment-analytics] support analytics.js-core library (#37291)
Add typings for the `@segment/analytics.js-core` library.

The segment-analytics and @segment/analytics.js-core are the same, as the first one just configures the later one with integrations.
2019-08-02 14:00:53 -07:00
Ricardo Devis Agullo c605d8d08b [nightwatch] add chrome options and make test_settings options optional (#37260)
* add chrome options and make test_settings options optional

* add chromeoptions

* fix lint
2019-08-02 13:53:23 -07:00
Gerard Delmàs d47ebf04ff fix Treebuilder.create signature (#37266) 2019-08-02 13:52:12 -07:00
kay delaney 8a51de6c03 [@types/slate] Update for version 0.47 (#37076)
* [@types/slate] Update for version 0.47

* [@types/slate-react] Changes Immutable import to just Immutable.List

* Move `rules` property from `Rules` interface to `SchemaProperties` interface

* Fix definitions in slate-react
2019-08-02 10:59:19 -07:00
Nikita Umnov 3ca8c5d6ac add @types/express-form-data (#37263)
* update types/body-scroll-lock

* add types/vue-simplemde

* fix

* fix

* express-form-data

* update express-form-data

* update by rules

* update express-form-data-tests.ts
2019-08-02 10:32:23 -07:00
HookyQR 2247f5940e New type definition for jsspec (#37179)
* New type definition for jsspec

* Remove lint ignore rules for @jsspec/jsspec
2019-08-02 10:10:30 -07:00
Wei 3b5d6fa76d add types for wx-server-sdk(微信小程序服务端api) (#37286)
* added wx-server-sdk basic types

* fix export-just-namespace complain
2019-08-02 10:08:55 -07:00
Jack Caldwell 68de2097a1 ColorProps now extends OpacityProps (#37308) 2019-08-02 06:54:15 +02:00
Orta 534c8438c2 react-native - Ensures the default launch screen compiles (#37303)
* Ensures the default launch screen compiles in react-native

* Fix linter issues
2019-08-02 06:52:21 +02:00
Mariano Vazquez 247dcd9f19 [yargs-interactive] Update type definition to v2.1 (#37181) 2019-08-01 17:40:10 -07:00
Yama-Tomo edceaaaa64 [storybook__addon-storyshots-puppeteer] new types definition (#37207)
* refactor: remove separated package definition

relate: https://github.com/storybookjs/storybook/pull/3742

* feat: add new definition
2019-08-01 17:33:36 -07:00
Barron Wei a1288c3dcb [@types/paypal-rest-sdk] Fix type of transactions field in Payment typing (#37047)
* Payment Transactions Type Fix

* Definitons By Update
2019-08-01 16:51:13 -07:00
Paulo Andrade d67df5565a add @types/react-devtools (#37269)
* create react-devtools type

* lint

* fixes

done after running npm run lint react-devtools
2019-08-01 16:46:42 -07:00
Gábor Balogh 22b8545455 Add types for langmap (#37262)
* Add types for langmap

* Fixed export

* Lint
2019-08-01 16:46:03 -07:00
Evan Kesten 6e53923406 [blueimp-load-image] New type definitions (#37281) 2019-08-01 16:44:05 -07:00
Adam Hanna fbb0149482 Detect emoji support (#37285)
* adds support for detect-emoji-support

* passes lint

* adds support for detect-emoji-support
2019-08-01 16:08:10 -07:00
Malav Shah 799d3b84cf Typings for cucumber-html-reporter library. (#37294) 2019-08-01 15:52:49 -07:00
bookmoons f923821cff [k6] Update for v0.25 (#37273)
* k6/http: Define new TLS cipher suites

* k6/http: Define TLS 1.3 constant

* k6: Increase version to 0.25

* k6/http: Order Params properties alphabetically

* k6/http: Add Params.compression
2019-08-01 15:40:54 -07:00
Teodor Tanasoaia 0f27e6706c [dat.gui] Add GUI class static members (#37274)
* add dat.gui GUI class static members

* remove patch version

* turn on dt-header rule
2019-08-01 15:37:35 -07:00
Piotr Błażejewicz (Peter Blazejewicz) 025e451664 Add options for IdP initiated flows to auth0-js (#37251)
This commit is based on the work of abandoned #37074 PR.
See problem answered here:
https://community.auth0.com/t/idp-initiated-sso-auth0-js-enableidpinitiatedlogin-flag/26946

/cc @Tanver-Hasan

Thanks!
2019-08-01 14:59:23 -07:00
PopGoesTheWza 05f5d8807e July 26, 2019 (#37235) 2019-08-01 14:56:20 -07:00
Ye Jun 5ab017973c [echarts] fix series-bar.itemStyle.color for linear gradient & radial gradient (#37193)
* [echarts] fix series-bar.itemStyle.color for linear gradient

* fix series-bar.itemStyle.color for linear gradient & radial gradient
2019-08-01 14:55:45 -07:00
Nazır Doğan 7d08dc2b5d Add (missing) inputContainerStyle props (#37150)
* inputContainerStyle

Add  inputContainerStyle

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts
2019-08-01 14:40:04 -07:00
Sami Jaber 5efb48f95c react-autosuggest: include state types (#37245)
* react-autosuggest: include state types

* add null types, fix indent

* format

* use undefined over null
2019-08-01 14:38:30 -07:00
Alejandro Corredor 2482d17990 [@types/graphql-resolvers] Allow passing arbitrary TArgs to all utilities (#37227)
* Allow passing arbitrary TArgs to all utilities

I'm facing an issue when using `graphql-resolvers` along with `graphqlgen` (for generating resolver types: https://github.com/prisma/graphqlgen). I get correct generated types from `graphqlgen`, but when I try to create a resolver using `combineResolvers`, I get a type error.

Here is an example:
```js
contest: combineResolvers(authHelpers.isAuthenticated, contestResolver)
```

The snippet above gives me this typescript error:
```
Types of parameters 'args' and 'args' are incompatible.
    Property 'id' is missing in type 'TArgs' but required in type 'ArgsContest'.
```

Where my `contestResolver` has the type `(parent: undefined, args: QueryResolvers.ArgsContest, ctx: Context, info: GraphQLResolveInfo) => Contest | Promise<Contest>`.

Where `ArgsContests` is  
```
export interface ArgsContest {
    id: string;
}
```

And my `isAuthenticated` resolver has type `(parent: any, args: any, { me }: Context) => ForbiddenError | undefined`.

Since right now I have no way of passing my own `TArgs` I have no other way but to ignore the error.

With this PR I introduce the ability to pass a generic `TArgs` of my liking that let's me make typescript happy when using `graphqlgen` generated types. If no generic for that argument is passed, then `TArgsDefault` is used, which is equivalent to what the previous typings had.

* Add myself to the contributors list.

Forgot to add myself in the first commit.

* Fix contributors list

Made a mistake adding myself to the list.

* fixing contributors list

For some reason it did not like the multi-line version either.

* correct contributors

* fix linting errors, update graphql-tools

* format type definitions
2019-08-01 14:36:45 -07:00
Jack Laurence 825b12a4c4 Package: react-window-infinite-loader 1.0.3 updated types (#37198)
* Updated types

Updated the interface as per package: https://www.npmjs.com/package/react-window-infinite-loader

* Update index.d.ts

* Update index.d.ts
2019-08-01 13:45:09 -07:00
Federico Saglia ecb7a34d7a [mapbox-gl] Added setZoomRate and setWheelZoomRate (#37243)
* added setZoomRate and setWheelZoomRate methods

* added setZoomRate and setWheelZoomRate tests
2019-08-01 13:01:12 -07:00
Jiawen GengandFlorian Keller 751f60b3df [prettier]: make some SupportLanguage configs optional (#37283)
* make codemirror configs optional

* Update index.d.ts

* Update types/prettier/index.d.ts

Co-Authored-By: Florian Keller <ffflorian@users.noreply.github.com>

* Update types/prettier/index.d.ts

Co-Authored-By: Florian Keller <ffflorian@users.noreply.github.com>
2019-08-01 12:43:45 -07:00
Rik Moedt 72ed0bf233 [ReactStripeElements] update method types (#37202)
Added typings for createPaymentMethod
Updates the types for handleCardPayment and handleCardSetup to be in line with the latest api change in react-stripe-elements
2019-08-01 12:43:01 -07:00
Marcin K 35729bff52 [@types/node] Allow to extends Http2ServerResponse and MyHttp2ServerRequest (#37182)
* allow to extend http2 Http2ServerResponse, Http2ServerRequest

* fix lint, implicit public constructor

* added constructor signatures for Http2ServerResponse and Http2ServerRequest

* added test for custom req, res in http2, fixed args types

* fixed Http2ServerRequest rawHeaders type
2019-08-01 12:39:55 -07:00
Tim Perry ea1017f0b8 Simplify PromisedThrow types in chai-as-promised (#37292) 2019-08-01 12:38:40 -07:00
Krister Kari 0278a498f7 [@types/react-native-actionsheet] Add missing ActionSheetCustom (#37240)
* [@types/react-native-actionsheet] Add missing ActionSheetCustom

* Add missing buttonUnderlayColor
2019-08-01 12:38:05 -07:00
anelook 7befb82fde [amplitude-js] Allow setUserId to accept null (#37271)
According to amplitude JavaScript SDK Reference userId can be null.
This can be used to anonymize users after they log out.
2019-08-01 12:36:00 -07:00
Florian Keller 96f60f1a0e Add types for node-abi (#37238) 2019-08-01 12:29:17 -07:00
Chuah Chee Shian bcbffb5c5c added types for preferred-pm (#37276) 2019-07-31 17:22:46 -07:00
Chuah Chee Shian 3b65ce5735 added types for which-pm-runs (#37278) 2019-07-31 17:21:21 -07:00
Gábor Balogh 2fddf863b3 Added types for @fnando/sparkline (#37265) 2019-07-31 16:28:53 -07:00