Commit Graph
62394 Commits
Author SHA1 Message Date
Tyler Jones 0deec57c72 [@types/algoliasearch] Fix Task#taskID (#35357)
* [@types/algoliasearch] fix Task#taskID

https://www.algolia.com/doc/api-reference/api-methods/batch/?language=javascript#json-format

* fixup Use different task types for different calls
2019-05-14 14:08:04 -07:00
Matt Lavin b37b146e13 fix(stripe): Fix application_fee on IChargeCreationOptions (#35331) 2019-05-14 14:04:24 -07:00
Alan Christopher Thomas 2e56cef0c5 Allow build subs parameter to accept objects (#35351) 2019-05-14 14:02:53 -07:00
kahirokunn fd4c71f928 [fix] Correct itemStyle of PickerPropsIOS type is StyleProp<TextStyle> (#35394) 2019-05-14 14:01:16 -07:00
Felipe e096d6a6b4 [bull] add removeRepeatableByKey to Queue interface (#35396) 2019-05-14 13:57:38 -07:00
briwa 3036b5af27 fix(sylvester): vector rotate should be able to take matrix as well (#35391) 2019-05-14 13:57:19 -07:00
olivier-kickstand 145a1e1ad5 Update to match latest version of package (#35384)
https://github.com/faceyspacey/redux-first-router/tree/master/examples/thunks#pathless-routes

> A pathless route is a `routesMap` entry without a `path`
2019-05-14 13:51:17 -07:00
wujingtao a22f9a688e Update koa-sslify. Change module export from commonjs to esmodule (#35377)
* Update index.d.ts

* Update koa-sslify-tests.ts
2019-05-14 13:50:49 -07:00
Tomáš Vyčítal 136dd4d7d7 Terminal-kit: argument width in GridMenuOptions is optional (#35388) 2019-05-14 13:47:20 -07:00
Matt R. Wilson bcfb2c65f2 [nock] Fix Interceptor.reply. (#35385)
I was working on removing the `no-any-union` lint override and realized
that `any` was being used in several places where a plain objected was
intended. It was also covering up that reply bodies can be Buffers or
Streams.

[Docs for specifying replies](https://github.com/nock/nock#specifying-replies)

Note: There was a bug in place. Previously, the types allowed for `reply`
to take two args, a callback and an object of headers. However, this
form is not documented and turns out to not be functional when
inspecting [the source](https://github.com/nock/nock/blob/cb56669e0bee13dfa9c668ecb3d0efb714f6240c/lib/interceptor.js#L68-L72).

I’ve confirmed with the lib maintainers that the bug was in `@types`.
https://github.com/nock/nock/issues/1513
2019-05-14 13:46:33 -07:00
ulrichb ba4b237d16 [proper-lockfile] Add retry *options * to union (next to number) (#35375)
* Add `retry` *options * to union (next to `number`)

* Update TS version (because of the new "retry" dependency)

* Increase the version number

* Add definition author
2019-05-14 13:43:36 -07:00
strange-fish 14effc6d16 fix error when method and onLoad have params (#35339) 2019-05-14 13:23:57 -07:00
Michael Nahkies a1302810f3 improve qrcode types (#35367)
- add type for error correction level
- change toCanvas to accept renderer options
- add file stream options, and change toFileStream to use
2019-05-14 13:19:07 -07:00
Kieran Carnegie 4bdd64a6b9 [screeps] Release 2.5.4 (#35376) 2019-05-14 13:18:44 -07:00
Nathan Shively-Sanders 3b1a96b6f9 lodash: Chain conditional types ignore null | undefined (#35409)
* Add PrimitiveChain.get

since .get chains undefined in lodash.

* *Chain conditionals: null|undefined -> never

Instead of Primitive<null | undefined>. This reflects lodash behaviour
better most of the time.

* Remove Primitive.get

It's unneeded to fix #35400

* Update lowdb tests
2019-05-14 13:16:45 -07:00
Nathan Shively-Sanders a43fa1d53d Collection.values() returns T[] not ArrayLike<T> (#35442)
This is optimistic, but usually right.
2019-05-14 13:14:45 -07:00
Benjamin Turner 5f8fe32ce2 Fix colornames default export type definition (#35354)
* update colornames types

* add name

* fix linter errors

* feedback
2019-05-14 13:13:02 -07:00
Taeheon Kim 3b625a5f37 [storybook-readme] Add new feature importing addReadme from html (#35380)
* Add new feature importing addReadme from html

* Fix  lint

* Fix test errors
2019-05-14 11:27:45 -07:00
Takuma Suzuki ed9f3a7454 [@types/nanoid] Add type definitions for nanoid/async/(random|generate|format) (#35335)
Fix typo
2019-05-14 11:22:39 -07:00
Rodrigo Vieira de Alencar 7c638953ae Update prosemirror-tables to 0.8 (#35334) 2019-05-14 11:22:08 -07:00
Oliver Joseph Ash a22c13dda0 Lodash: mapValues: fix usage with type aliases (#35342)
Fixes https://github.com/DefinitelyTyped/DefinitelyTyped/issues/27154
2019-05-14 11:20:55 -07:00
Oliver Joseph Ash c64cd6e7c5 Lodash: negate: add tests for rest parameters (#35341)
Re. https://github.com/DefinitelyTyped/DefinitelyTyped/issues/35273
2019-05-14 11:19:03 -07:00
forehalo 88e5702d52 mixin could receive arguments (#35312) 2019-05-14 11:16:20 -07:00
Brad Zacher e7ef1fe681 [requireindex] Add types for v1.2 (#35360) 2019-05-14 11:15:10 -07:00
Robert Brownstein b7f07cfbbd Add type definitions for cryptex (#35345)
* Add type information for cryptex module

* update tests

* Add test file to 'files'

* fix definitions for cryptex

* create additional tests
2019-05-14 11:13:56 -07:00
PatPL e4d71d1dd4 Add types to the 'b2a' NPM package (#35363)
* Add b2a types

* Update tsconfig.json

* b2a build fixes
2019-05-14 11:12:09 -07:00
Piotr Roszatycki 3619e307a9 dirty-chai: new definitions (#35365) 2019-05-14 11:11:28 -07:00
Michael James 09e6a1b1d8 chore: created basic type definitions for difflib package (#35392) 2019-05-14 11:00:48 -07:00
ninjabonsai 0b795f1149 added types for motion-scroll (#35395) 2019-05-14 11:00:09 -07:00
Michael Wittwer 2dec5141f6 Add typings for just-snake-case (#35316)
* feat(just-snake-case): add new typings

* fix(tsconfig): add strictFunctionTypes: true
2019-05-14 10:59:36 -07:00
Eric Taylor 6b910c7785 Add styletron-standard types (#35324)
* add styletron-standard types

* fix StyleObject type to accept nested StyleObject type

* use csstype package
2019-05-14 10:59:09 -07:00
tophf 00a507fc0d Add missing callbacks to browserAction/pageAction (#35236)
The callback parameter is supported since Chrome 67 on the methods listed below,
thanks to https://crrev.com/c/979451

* pageAction.show
* pageAction.hide
* pageAction.setTitle
* pageAction.setPopup

* browserAction.enable
* browserAction.disable
* browserAction.setBadgeBackgroundColor
* browserAction.setBadgeText
* browserAction.setTitle
* browserAction.setPopup
2019-05-14 10:58:03 -07:00
Tyler Romeo b0efb56e7a [tinymce] Add key index types for html.Schema return vales (#35249)
For the various get*Elements() functions in TinyMCE's Schema class, it returns
a mapping from a string to an empty object. This commit updates the return type
for all of these functions to reflect that it is an object with string keys.
2019-05-14 09:54:22 -07:00
Christopher Pappas 7e1f1b03d4 [react-tracking] Export additional interfaces (#35425) 2019-05-14 18:23:26 +02:00
Shawn Mitchell e5bde27b60 Update index.d.ts add MUIDataTableColumnOptions optional field filter… (#35362)
* Update index.d.ts add MUIDataTableColumnOptions optional field filterType

added line 105 `filterType?: 'dropdown' | 'checkbox' | 'multiselect' | 'textField';` to match line 95 of https://github.com/gregnb/mui-datatables/blob/master/src/MUIDataTable.js

* add React.ReactNode as valid type for MUIDataTableProps title

before: 
```
export interface MUIDataTableProps {
    title: string;
    columns: MUIDataTableColumnDef[];
    data: Array<object | number[] | string[]>;
    options?: MUIDataTableOptions;
}
```
after:

```
export interface MUIDataTableProps {
    title: string | React.ReactNode;
    columns: MUIDataTableColumnDef[];
    data: Array<object | number[] | string[]>;
    options?: MUIDataTableOptions;
}
```
2019-05-14 07:24:02 -07:00
Calvin Chhour a69026a85c [@types/gestalt] Added types for new icons in Gestalt (#35332)
* Updated types for new icons in Gestalt

* Updated header field
2019-05-13 17:09:17 -07:00
srikanth2042 84e37287b3 Add preserveHostHdr property to ProxyOptions (#35320) 2019-05-13 16:50:56 -07:00
Daniel Rose 1e93d62050 Update socketcluster-client, add sc-errors (#35311)
* Implement all overloads from Emitter.

* Mark the constants as readonly.

* Add type definitions for sc-errors.

* Add missing fields.
2019-05-13 16:49:57 -07:00
Andrés Reyes Monge 9e80f459ec Adding some missing definitions (#35319) 2019-05-13 16:48:06 -07:00
Dasa Paddock 405fbc0dbd Add "esri/styles" modules (#35325) 2019-05-13 16:47:14 -07:00
Andrew Kaiser 3b71574ede better-sqlite3: add transactions return type, statement bind paramater typing, backup method (#35330)
* add transaction return type & statement bind typing

* add backup method

* bump better-sqlite3 version
2019-05-13 16:45:44 -07:00
Elizabeth Samuel f0ded4ff0c [office-js] [office-js-preview] (Outlook) Update RoamingSettings note (#35346) 2019-05-13 16:42:19 -07:00
-1 620c7af73c [cytoscape] fixed typos and added new style options (#35313)
* add and fix line-styles

* fix typo

* add text-wrap style

* add tests
2019-05-13 16:41:20 -07:00
Dhalton 179208b780 [styled-system] Fix definitions for mapProps and LowLevelStylefunctionArguments (#35265)
* Fix mapProps definition

* Test mapProps fix

* Fix LowLevelStyleFunctionArguments definition

* Test LowLevelStylefunctionArguments fix
2019-05-13 16:38:28 -07:00
Tim Whitbeck 967388ba23 fix type of SchemaProperties.document.text (#35245)
according to docs at https://docs.slatejs.org/slate-core/schema#text
can be either a RegExp or a function taking a string
and returning a boolean
2019-05-13 16:33:25 -07:00
handleyj 6bde72cd87 @types/mui-datatables: Export and clean up MUIDataTableState (#35246) 2019-05-13 16:32:16 -07:00
Joel Szwarga c3c951d939 Update typings to match current docs and api (#35294) 2019-05-13 16:31:14 -07:00
Florian Keller 34e0dac199 [fs-extra] Streamline version with package version (#35283) 2019-05-13 16:30:15 -07:00
Chris Shaffer 8fc7810ca3 Remove definitions for deprecated MapView (#35274)
Related to:  https://github.com/DefinitelyTyped/DefinitelyTyped/pull/35239
2019-05-13 16:27:51 -07:00
Trevor L c4edb7ea59 Add ignorePath option to koa-bunyan-logger RequestLoggerOptions (#35264) 2019-05-13 16:27:17 -07:00