Commit Graph
62369 Commits
Author SHA1 Message Date
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
Lorefnon e63cb5725e [route-parser] Improve type-safety by making the Route class generic (#35216) 2019-05-13 16:12:34 -07:00
Gregor Stamac 88e22907b4 [Jest] MockInstance functions should return self (#34936)
* [Jest] MockInstance functions should return self

* [Jest] MockInstance functions should return self

* [Jest] fixed tests

* [jest-when] WhenMock interface should extend MockInstance
2019-05-13 16:11:05 -07:00
Emmanuel Gautier dccf648e59 [Sequelize] update queryInterface addIndex (#35284)
* fix sequelize addIndex

* add deprecated sequelize index options

* create sequelize IndexType
2019-05-13 16:10:03 -07:00
Arsen a0efee5960 Support for relativeToWrapper and improved wrapper (#35295)
Wrapper option takes an HTMLElement as well as a string.
RelativeToWrapper was a recent addition to the library.
2019-05-13 16:05:52 -07:00
Jason Yu fadde892e8 bump version (#35288)
- added missing static methods for IANAZone and `FixedOffsetZone`.
2019-05-13 16:04:17 -07:00
Kaipeng Lu 2c7b9c4735 isDeleted func name (#35282) 2019-05-13 16:03:34 -07:00
Colby M. White 10c7136095 feat(chance): add option definitions for common methods (#35250)
* feat(chance): add option definitions for common methods

added definitions for the option parameters of common methods

* fix(chance): return array for locales

bug I introduced in #34523

* feat(chance): add capitalize option to word method
2019-05-13 16:03:10 -07:00
aNickzz 2d3f91e5f6 Bugfix and improvements (#35280) 2019-05-13 16:01:01 -07:00
Zach Posten 9ab4b7e9e1 React filepond: Expand server configuration type definitions (#35291)
* fix: Make server config props optional

* feat: Add type definitions for server config callback funcs

* test: Modify test to reflect server callbacks
2019-05-13 15:53:51 -07:00
Михайлов Антон 3db468885f [paper] Include Base class definition + type save getters and setters (#35285)
* [paper] Add Base class

* [paper] Type save getters and setters

* [paper] import/export test

* [paper] Fix: "Common mistakes"

* [paper] Tabs to spaces
2019-05-13 15:52:32 -07:00
grizzlysol fd9556065b Added Map and Calendar definitions (#35289) 2019-05-13 15:48:34 -07:00
Piotr Roszatycki 04b191fa7f util.promisify: compatible with the latest @types/node (#35270) 2019-05-13 15:47:22 -07:00
James Pace b3fae8a887 GetRoles should not accept an id parameter (#35260) 2019-05-13 15:40:32 -07:00
AbigailMcP ddf184c96f [@types/cavy] Update cavy types for beforeEach and useCavy functions (#35256)
* Add beforeEach and useCavy function types to Cavy

* Linting and version update
2019-05-13 15:39:16 -07:00
Julian Hundeloh 6b2d933449 fix: remove hapi-auth-jwt2 (#35255) 2019-05-13 15:37:42 -07:00
Christian 93a90edde2 fix(sharp): add missing modulate type (#35253) 2019-05-13 15:22:56 -07:00
Matthias Kunnen b60d757ef4 [oauth2orize] Typed errors (#35251)
See:
- https://github.com/jaredhanson/oauth2orize/blob/70608ed5384a0f57e4a840f733db6e75a998057b/lib/errors/authorizationerror.js
- https://github.com/jaredhanson/oauth2orize/blob/70608ed5384a0f57e4a840f733db6e75a998057b/lib/errors/oauth2error.js
- https://github.com/jaredhanson/oauth2orize/blob/70608ed5384a0f57e4a840f733db6e75a998057b/lib/errors/tokenerror.js
2019-05-13 15:21:37 -07:00
jlismore 32b5bf0bb7 Add promiseFiles and the sync version of files (#35237) 2019-05-13 15:19:59 -07:00
Jason fcd45613c0 pump: pump should return a single stream instead of an array. (#35238)
* Pump signature now returns a single stream instead of an array of streams.

* pump: Updates version and adds author
2019-05-13 15:18:59 -07:00
Andrew Schmadel 8cebff3068 Add an explicit dependency on hoist-non-react-statics (#35235)
Will hopefully fix #33690 by introducing a direct dependency on hoist-non-react-statics.

Unfortunately, the TS module-resolution algorithm will often grab the types from
hoist-non-react-statics v2.5.x (which is still widely-used, and included an internal .d.ts file) before finding @types/hoist-non-react-statics (which is what react-redux should actually be using).

Adding an explicit dependency on the (type-less) package appears to force the correct behavior.
2019-05-13 15:17:36 -07:00
Jaen 18bd08a386 chrome: make tabs.discard arguments optional (#35223)
These arguments are both optional, see: https://developer.chrome.com/extensions/tabs#method-discard
2019-05-13 15:07:41 -07:00
Cahil Foley b01a786c26 [mssql] Add Request.query tagged template overloads (#35212)
* Add missing query overloads

Add overloads to the `Request.query` method function to support using it as a tagged template.

* Update tests to include new signatures

Add tests for the tagged template query overload on the `Reqest` interface.

* Remove type declarations from tagged template usage

This usage is incompatible with older typescript versions.
2019-05-13 15:04:21 -07:00
Dimitar Nikovski 12c5676b0f Allow typing of RawDraftEntity (#35208)
It's helpful, when working with `RawDraftEntity`, to have a typed `data` property, whilst it still defaults to `{ [key: string]: any }`
2019-05-13 15:02:27 -07:00
Florian Keller 353eb17ad6 [underscore] Add generic type for memoize (#34994) 2019-05-13 10:59:04 -07:00
Mike Marcacci f832cffd77 Add graphql-upload (#35276) 2019-05-13 10:46:51 -07:00