Florian Keller
e627b5b66b
[electron-packager]: Update types to 14.0 ( #36441 )
2019-06-26 09:46:22 -07:00
Dirk Groenen
1fa08d6f12
Add correct Promise return types ( #36312 )
2019-06-26 09:43:58 -07:00
Thibault MOCELLIN
b1d4a8a76a
[parse] add definition for linkWith & _linkWith ( #36258 )
2019-06-26 09:42:45 -07:00
Sergio Arbeo
7ec5193126
Change main contributor in chromecast-caf-receiver ( #36315 )
2019-06-26 09:41:49 -07:00
bookmoons
7d19fc7272
[k6] Update for latest version ( #36432 )
...
* k6: Add author
* k6: Normalize indenting
Indenting was inconsistent.
Normalizes to the recommended 4 spaces.
* k6: Use TypeScript 3.4
* k6: Document version 1.0
* k6: Update project address
* k6: Normalize formatting
Uses the repo formatter to normalize code format.
* k6: Define byte array
* k6: Document init context availability
* k6: Document fail never returns
* k6: Collapse function definitions
For consistency with the example package.
* k6: Aggregate functions
* k6: Alphabetize files
* k6: Factor init context
* k6: Remove dom depend
The DOM is not present in the k6 custom runtime environment.
* k6: Simplify manifest
* k6: Rename init global
* k6: Add factored global tests
* k6: Define console
* k6: Remove global import
Seems to be loaded implicitly.
* k6: Define __VU
* k6: Define __ITER
* k6: Define __ENV
* k6: Test excess open args
* k6: Correct version
The version mentioned in the k6 docs seems to be wrong.
The latest version in the repo is v0.24.0.
* k6: Add factored check tests
* k6: Factor checker routine
* k6: Add factored fail tests
* k6: Add factored group tests
* k6: Add factored sleep tests
* k6: Define encoding
* k6/crypto: Support all string encodings
* k6/crypto: Define hmac
* k6/crypto: Define md4
* k6/crypto: Define md5
* k6/crypto: Define sha1
* k6/crypto: Define sha256
* k6/crypto: Define sha384
* k6/crypto: Define sha512
* k6/crypto: Define sha512_224
* k6/crypto: Define sha512_256
* k6/crypto: Define ripemd160
* k6/crypto: Aggregate types
* k6/crypto: Define createHash
* k6/crypto: Define Hasher
* k6/crypto: Define randomBytes
* k6/crypto: Order types to bottom
* k6/http: Define cookieJar
* k6/http: Define CookieJar.set
* k6/http: Define CookieJar.cookiesForURL
* k6/encoding: Order types to bottom
* k6/http: Brand CookieJar
* k6: Order types to bottom
* k6/crypto: Brand Hasher
* k6: Document branding
* k6/http: Define get
* k6/http: Define Response
* k6/http: Factor body type refinement
Enables typing user variables with nongenerics.
* k6/http: Define Response.json
* k6/http: Define Response.clickLink
* k6/http: Correct Response.clickLink header
* k6/http: Define Response.submitForm
* k6/http: Support null params
* k6/http: Centralize example address
* k6/http: Define post
* k6/http: Define del
* k6/http: Define options
* k6/http: Document generics purpose
* k6/http: Define patch
* k6/http: Refine comment
* k6/http: Define put
* k6/http: Correct body refinement
* k6/http: Simplify comment
* k6/http: Define request
* k6/http: Define batch
* k6/http: Define file
* k6: Remove centralized tests
Replaced with factored tests.
* k6: Use protected branding
Enables branding class hierarchies.
* k6/http: Update formatting
* k6/metrics: Define Counter
* k6/metrics: Define Gauge
* k6/metrics: Define Rate
* k6/metrics: Define Trend
* k6: Make noninstantiable classes abstract
* k6/ws: Define connect
* k6/http: Prefer interfaces
* k6/ws: Define Socket.on
* k6/ws: Define Socket.send
* k6/ws: Define Socket.ping
* k6/ws: Define Socket.close
* k6/ws: Define Socket.setTimeout
* k6/ws: Define Socket.setInterval
* k6/html: Define parseHTML
* k6/html: Specify optional return types
* k6/html: Define Element
* k6/html: Define HrefElement
* k6/html: Define MediaElement
* k6/html: Define FormElement
* k6/html: Define LabelElement
* k6/html: Define FormFieldElement
* k6/html: Define TableSectionElement
* k6/html: Define TableCellElement
* k6/html: Define CanvasElement
* k6/html: Define OptionElement
* k6/html: Define DataListElement
* k6/html: Define FieldSetElement
* k6/html: Define InputElement
* k6/html: Define KeygenElement
* k6/html: Define LegendElement
* k6/html: Define LinkElement
* k6/html: Define MapElement
* k6/html: Define MeterElement
* k6/html: Define ObjectElement
* k6/html: Define OutputElement
* k6/html: Define ProgressElement
* k6/html: Define ScriptElement
* k6/html: Define SelectElement
* k6/html: Define StyleElement
* k6/html: Define TableElement
* k6/html: Define TableRowElement
* k6/html: Define TableColElement
* k6/html: Define TextAreaElement
* k6/html: Define TitleElement
* k6/html: Define leaf elements
* k6: Define options
* k6: Type global environment from index
2019-06-26 09:40:45 -07:00
Coskun Deniz
1f2735eb39
[@types/vimeo__player] Update typings to match the latest api version 2.9.1 ( #36321 )
...
* Update typings to match v2.7.0
* Update typings to match v2.8.0
* Update version number to v2.9.1 as there is no type changes
* Fix linting
* Update types as requested in the CR
* Linting
* Introduce VimeoTimeRange tuple
* linting
* Add missing options
2019-06-26 09:20:50 -07:00
Weyert de Boer
cfc586791d
Updated type defs for @testing-library/user-event ( #36444 )
...
* fix: updated the type definitions for @testing-library/user-event
* just make changes to testing-library__user-event
* take 2
* updated type defs
* cleaned up formatting
* fix naming
* attempt to fix the type defs
* chore: updated tsconfig.json
* remove whitespace
* fix whitespace
* chore: attempt to fix both user-event packages
* chore: formatting code
2019-06-26 13:51:22 +01:00
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 )
...
https://github.com/graphql/graphql-js/commit/2c7224c32bf35ce97201b181d7b445cf8e49a585
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:
https://github.com/DefinitelyTyped/DefinitelyTyped/commit/598ffd0b99dcfa511ab6056d9652c99665a7bbe4#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