Commit Graph

63044 Commits

Author SHA1 Message Date
Nathan Shively-Sanders
2ceda6e7ea Add WindowOrWorkerGlobalScope.fetch (#36453)
This is compatible with TS3.6 and above.
2019-06-25 12:39:47 -07:00
Florian Keller
c51dc8610d [electron-packager] Add all osx-sign options (#36435) 2019-06-25 10:22:31 -07:00
Julia Shestakova
efa6b9e11e Fix react-beautiful-dnd DropAnimation types (#36345) 2019-06-25 00:09:08 -07:00
jhey tompkins
f6da6d304a [@types/baseui] update version + maintainers (#36245)
* [@types/baseui] update version + maintainers

* Align
2019-06-24 16:35:56 -07:00
Nathan Shively-Sanders
957237df16 Move ExpectError in hummus-recipe tests (#36414)
TS3.6 moves the location of 'wrong number of parameters' error for
property accesses. This change makes the tests work with all versions of
Typescript.
2019-06-24 15:31:16 -07:00
Harry Hedger
4b1fb53cd3 Added typedef and tests for @reach/alert-dialog and @reach/dialog (#36369) 2019-06-24 13:01:52 -07:00
Chris Drackett
af9ceddfdf little-loader types (#36127)
* adding types for little-loader

* adding support files

* use 4 spaces

* export directly

* export default?

* I'm so confused.

* going back to original. giving up.

* missing version and ;

* trying to just export a function one more time...

* remove export?

* *sigh*

* updating import on test

* context is optional

* update to deal with options case.

* remove unnecessary generic?
2019-06-24 13:00:42 -07:00
Derek Sifford
d54c178c24 [@wordpress/components] add new definitions (#36184)
* [@wordpress/components] add new definitions

* add missing "files" property to tsconfig

* fix lint issues

* fix path mapping issue

* add all files to tsconfig explicitly

* add reference to @wordpress/rich-text "Value" type
2019-06-24 13:00:17 -07:00
Søren Englund
922de6d1a7 Update type definitions for react-image-crop (#36124)
* Updated type definitions for react-image-crop

* Added a subfolder for the v7 type declerations
2019-06-24 12:59:14 -07:00
Lukas Bünger
92c707eed0 [@types/slate] Support nested plugin stacks on the "plugins" c… (#36349)
* fix: editor takes a recursively nested plugin stack as contructor argument

* chore: formatting

* refactor: remove obsolete list type. naming

* fix: enforce a list as root data type.

* Update index.d.ts
2019-06-24 12:55:21 -07:00
Alex Jerabek
64175d87d6 [office-js, office-js-preview] Adding warnings to known set-together structs (#36356)
* Adding warnings to known set-together structs

* Better warning wording
2019-06-24 12:53:24 -07:00
Ilyes Kechidi
f97a959172 added VictoryDatableProps to VictoryGroupProps (#36400) 2019-06-24 12:52:30 -07:00
Christian Schuhmann
893b61cc8a [lingui__react] Add missing properties to I18nProvider (missing, locales) (#36264)
* Add missing properties to I18nProvider

* Fix usage of `Function`
2019-06-24 12:51:59 -07:00
Alexander Ivanov
08bab0b659 [types/google-apps-script] Blob extends BlobSource (#36279)
* Blob extends BlobSource

Signed-off-by: Alexander Ivanov <oshli.a.er@gmail.com>

* Extra spaces

Signed-off-by: Alexander Ivanov <oshli.a.er@gmail.com>
2019-06-24 12:51:48 -07:00
ᎷᎪᎢᎬᏌᏚᏃ ᎢᏌᎡᏟᏃᎪ
545e576c1c [@types/codemirror] Add boolean type to autoCloseBrackets option (#36323)
Currently definition for autoCloseBrackets doesn't allow boolean values, which
is wrong. Setting autoCloseBrackets to true enables autoclosing feature with
the default settings, as is visible in the source code of a demo on the
CodeMirror's official website: https://codemirror.net/demo/closebrackets.html

var editor = CodeMirror.fromTextArea(document.getElementById("code"), {autoCloseBrackets: true});
2019-06-24 12:51:17 -07:00
Sergio Arbeo
4f3e646ab1 Improve PlayerData in chromecast-caf-receiver (#36287)
* Improve PlayerData in chromecast-caf-receiver

Improve PlayerDataEventType (taken directly from the Chromecast) and the
PlayerDataBinder constructor (can be checked in documentation here
https://developers.google.com/cast/docs/reference/caf_receiver/cast.framework.ui.PlayerDataBinder#constructor_1
)

PlayerData needs to be instantiatable as well (see screenshot showing it
is a constructor).

* Fix test

* Update all classes and enums accessible from PlayerData

* Remove package.json

* Fix tests

* Update tests
2019-06-24 12:50:03 -07:00
Kyle Robinson Young
0a252fb08b jqXHR.abort has an optional statusText parameter (#36335) 2019-06-24 12:48:27 -07:00
Richard Tan
350abf6a9a react-tagsinput: expose renderLayout (#36304)
* react-tagsinput: expose renderLayout

Exposing `renderLayout` type to be imported by consuming projects.

* Update index.d.ts
2019-06-24 12:48:09 -07:00
jjsiman
5029800621 [@types/highcharts] Added type for gridLineInterpolation (#36333)
* Adding typing for gridLineInterpolation

gridLineInterpolation: string

Polar charts only. Whether the grid lines should draw as a polygon with straight lines between categories, or as circles. Can be either circle or polygon.

Defaults to undefined.

Reference: https://api.highcharts.com/highcharts/yAxis.gridLineInterpolation

* Removing trailing whitespace
2019-06-24 12:47:26 -07:00
Michael Franklin
5c96a08b30 Add 'object' as allowed type for Query.lean (#36343) 2019-06-24 12:46:08 -07:00
Mike
d882b1c96f [@hapi/hapi] separate app states (#36361) 2019-06-24 12:41:47 -07:00
Pavel Lang
40ca2b4b91 Add isRepeatable to GraphQLDirective (#36358)
2c7224c32b
2019-06-24 12:41:36 -07:00
ferrugemjs
3a3bb26b11 add name prop as indicate on examples. (#36366)
http://recharts.org/en-US/examples/SimpleRadarChart
2019-06-24 12:39:21 -07:00
Marcelo Cardoso
71452535fe [react-infinite-scroll-component] Add className type and test (#36382)
* fix: added missing typing
1. Added missing `className` definition

* fix: set className to go through tests
2019-06-24 12:39:12 -07:00
Tim Düsterhus
6ae163b1c5 node-forge: Add forge.pki.certificateToAsn1(cert) (#36383) 2019-06-24 12:38:38 -07:00
Teppei Sato
1e71bbdf52 update workerpool to v3.1 (#36388) 2019-06-24 12:38:08 -07:00
Bjørnar Snoksrud
cebfdd1f30 [complex.js] Update types to match implementation (#36396)
* [complex.js] Update types to match implementation

* [complex.js] incorporate suggestions from review
2019-06-24 12:37:47 -07:00
Rifa'i M. Hanif
19d3225506 [@types/ol] Fix imports (no-self-import) (#36392) 2019-06-24 12:37:41 -07:00
林集团
5e243a0243 ramda: add full curring version of assoc function (#36397) 2019-06-24 12:35:41 -07:00
Tim Perry
b231fe9730 Remove loglevel, now that it includes its own types (#36403) 2019-06-24 12:32:45 -07:00
Piyush Mishra
88a79a9361 [@types/google-protobuf] Fix for breaking changes of PR #35299 (#36346)
* Add pack, unpack and getTypeName back

* add toJavaScript, fromJavaScript and JavaScriptValue back

* Add toDate and fromDate back
2019-06-24 11:00:18 -07:00
Regev Brody
ac897dc461 Fix #36308 - underscore has bad chain typings (#36319) 2019-06-24 10:22:40 -07:00
TypeScript Bot
6e0ad9b57a Update CODEOWNERS (#36377) 2019-06-24 09:41:58 -07:00
Alex Pope
d20b2a044b Add publicPath to SourceMapDevToolPlugin.Options (#36394) 2019-06-24 15:25:33 +01:00
iwknow
796b838a15 [Enzyme] make dive to take component as type (#36276)
* make dive to take component as type

make dive to take component as type so that dive().instance() returns component with correct type

* add test for dive type definition

add test for dive type definition
2019-06-22 00:03:35 -07:00
Michael Kitch
206fd191e8 react-table: Add selectWidth to react-table select HOC (#36348)
* Add selectWidth to react-table select HOC

* Update select-table-tests.tsx
2019-06-22 00:01:56 -07:00
pokutuna
845d001fe5 Added new definitions for asciichart (#36273) 2019-06-21 23:54:24 -07:00
zivyangll
24b24fa197 add types for 'macaca-circular-json' (#36256)
* feat: add macaca-circular-json types

* doc: update info
2019-06-21 23:53:57 -07:00
ghizlanelotfi
4bc21cbc73 add algolia places typings (#36242)
* add algolia places typings

* add request changes

* fix build errors

* fix test errors

* remove rules from tslint

* remove empty line

* add namespace places

* remove unused comma

* add missing whitespace and remove padding

* add test file

* add file to tsconfig

* comment places func

* add tests

* uncomment places func

* fix events import
2019-06-21 14:19:32 -07:00
Daniel Cassidy
58607ca641 node: Correct type of SpawnSyncReturns. (#36263)
* node: Correct type of SpawnSyncReturns.

* cross-spawn: Fix tests for updated node types

* node: Correct SpawnSyncReturns in v10 and v11.
2019-06-21 14:17:19 -07:00
Piotr Roszatycki
1aa129cacb Node: ref and unref for timers returns this + new method hasRef (#36237)
* node: ref and unref for timers returns this; new method hasRef

* code formatting

* Backported to older Node typings

* node: inteface Timer has to have hasRef too

* node: methods return this for v11 too
2019-06-21 14:16:37 -07:00
Joe Hillenbrand
79e2481967 [react] add tests for useState (#36338)
Add a test case to prevent this from happening again:

598ffd0b99 (r34006320)
2019-06-21 13:23:18 -07:00
Domino987
e0f3c915f4 Added factory.d.ts (#35779)
* Added factory.d.ts

This enables the modular import of plotly descibere [here](https://github.com/plotly/plotly.js/tree/master/dist#partial-bundles).

import Plotly from 'plotly.js-basic-dist'
import createPlotlyComponent from 'react-plotly.js/factory';
export const Plot = createPlotlyComponent(Plotly);

* Add factory to index

This is needed because travis will fail due to unused file error

* removal of default

* Update index.d.ts

* Update index.d.ts

* Update tsconfig.json

* Update index.d.ts

* Add factory test
2019-06-21 08:42:13 -07:00
Sebastian Sebald
b76470c5b4 Add @styled-system/css typings (#36236)
* Add @styled-system/css typings

* fix linting
2019-06-21 01:17:34 -07:00
Derek Sifford
44115af1cb [@wordpress/dependency-extraction-webpack-plugin] add new definitions (#36033)
* [@wordpress/dependency-extraction-webpack-plugin] add new definitions

* use more appropriate "export =" syntax
2019-06-21 01:15:40 -07:00
Chaitanya K
d6462559f4 google-protobuf: Updated definitions to version 3.7.1 (#35299)
* Updated google-protobuf definitions to version 3.7.1

* fix: travis errors

* fix: added tests
2019-06-21 01:05:09 -07:00
Munif Tanjim
aa041f6632 @types/draft-js improvements (#36079)
* @types/draft-js improvements
expose DraftDecorator
extend DraftBlockType

* @types/draft-js fix function signature
- customStyleMap
- customStyleFn

* @types/draft-js fix function signature
handleBeforeInput

* @types/draft-js fix function signature
handleKeyCommand

* @types/draft-js remove console.log

* @types/draft-js add DraftStyleMap
2019-06-21 01:02:16 -07:00
Maurice de Beijer
a9e638dbda Support Yup required/notRequired derived types (#36155)
* Support undefined with notRequired()

* ArraySchema<T> instead of this

* children can be undefined

* Export InferType<T>

* Support undefined and null for arrays

* Reduced types count and dupicated code for arrays

* Added boolean overloads
2019-06-21 00:58:00 -07:00
Philip Peitsch
dfd9f6e84a node-hid: add new definitions (#36302)
Updating based on 0ff75bf172
Additional event handles added as HID class inherits directly from Node's EventEmitter
2019-06-21 00:53:09 -07:00
Martin Jurča
ffebba08e1 [promise.allsettled] Add new type declarations (#36314)
* added type definitions for promise.allsettled

* code style update

* code style and compatibility fixes

* removed the (hopefully not needed) tslint disable flag

* more code style fixes

* code style fix
2019-06-21 00:48:48 -07:00