Commit Graph
62381 Commits
Author SHA1 Message Date
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
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