Commit Graph
63208 Commits
Author SHA1 Message Date
Tan90Qian 3fb47bb082 fix enzyme's ShallowRendererProps interface (#36442)
* fix enzyme's ShallowRendererProps interface

* fix for ci

* update test case for wrappingComponent

* fix for ci

* fix for ci
2019-07-01 13:01:34 -07:00
Thai Pangsakulyanont 0640cab7d7 [@types/invariant] Make invariant(false) return never (#36460)
This allows patterns such as this when strict null checks are on:

    let instance: Thing | undefined;

    function getInstance(): Thing {
        return instance || invariant(false, "`instance` not instantiated");
    }
2019-07-01 13:00:52 -07:00
mpomet 208e1e1ec9 [@types/vis] add getBaseEdges definition (#36462)
* [@types/vis] add getBaseEdges definition

* [@types/vis] fix trailing spaces
2019-07-01 12:54:17 -07:00
Chris Hayes eeb2e724bc [storybook__addon-knobs] Add missing type overload for options… (#36328)
It's possible to pass an array of default values to optionsKnob and subsequently have an array of selected options returned. This PR adds an overload type to allow that behaviour.
2019-07-01 12:53:47 -07:00
Kharazyan Aram 5502326a0a [Ramda] fix construct, juxt, head, tail and last type definiti… (#35905)
* ramda: fix construct and constructN methods

* ramda: fix juxt method

* ramda: fix head, tail and last methods

* ramda: add contributor
2019-07-01 12:50:59 -07:00
Colin Cheng c5a3635a7c FEAT(koa): add ExtendableContext interface to extends context (#36016) 2019-07-01 12:49:04 -07:00
Sterling Camden ca1a2e05fa UUID: reverse overloaded intersection so that ReturnType<T> w… (#35895) 2019-07-01 12:47:10 -07:00
Jiří Balcar 75b0473d21 [mailgun-js] add testMode and testModeLogger to Mailgun constr… (#36542)
* add testMode and testModeLogger to Mailgun constructor for version 0.22.0

* increase typescript version to match form-data as new dependency

* remove patch version in definitions

* revert of the formatting changes

* cleanup formatting
2019-07-01 12:45:59 -07:00
Dmitry Parzhitsky faf2054aa9 Add declarations and documentation for missing methods in "double-ended-queue" (#36552)
* Add missing methods in double-ended-queue

* Add JSDoc for double-ended-queue

* Disable linter more carefully
2019-07-01 12:44:25 -07:00
Maurice de Beijer 6c47884c3d Yup: Allow for Ref in oneOf() (#36580) 2019-07-01 12:43:51 -07:00
James Greenleaf 2c90a289aa [ramda] Update pathOr return typings to match path (#35892)
* Define explicit EaseToOptions

* Update `pathOr` return value typings
2019-07-01 11:23:30 -07:00
Derek Sifford 9cd1e16ceb [@wordpress/is-shallow-equal] add new definitions (#36535) 2019-07-01 11:20:22 -07:00
Derek Sifford d5b6cfdd47 [@wordpress/shortcode] add new definitions (#36538) 2019-07-01 11:19:18 -07:00
Derek Sifford 0caf020569 [@wordpress/block-serialization-default-parser] add new defini… (#36547) 2019-07-01 11:18:39 -07:00
Avi Vahl aa253dc91e Add types/tests for deindent (#36549) 2019-07-01 11:17:31 -07:00
Mitsuka Hanakura a.k.a. ragg 891dfd1e9d [audiobuffer-to-wav] Add definition for audiobuffer-to-wav (#36553) 2019-07-01 11:17:11 -07:00
Avi Vahl c35d0df691 Add types/tests for grid-template-parser (#36557) 2019-07-01 11:16:06 -07:00
mike castleman 49bdfca832 add typings for node-gzip (#36560) 2019-07-01 11:14:45 -07:00
Evgeniy c2aed2dcf2 Add @types/feather-route-matcher (#36572) 2019-07-01 11:14:20 -07:00
Sergio Arbeo ed7ba80316 Improve cast.framework.ContentProtection from (#36267)
@types/chromecast-caf-receiver

The best way to access those values are through the enumeration itself,
so if the value or the code handling it changes, we won't be affected.
(Using the upper case version was not working for us).
2019-07-01 11:13:47 -07:00
Jake Richards 00ebbce409 [@types/pixelmatch] Add missing types added in v5.0 (#36574) 2019-07-01 11:12:12 -07:00
林集团 336f4afa7c ramda: improve applySpec typing (#36399) 2019-07-01 11:11:52 -07:00
Alex Zywiak 55f2f3126d [@types-baseui] fix button size interface (#36504) 2019-07-01 11:11:17 -07:00
Radullus 020e04aeb2 [@types/underscore] Fix #36308 - underscore has bad chain typi… (#36510)
* [@types/underscore] Fix #36308 - underscore has bad chain typings fix only for function 'map' (#36319)

* [@types/underscore] Fix #36308 - underscore has bad chain typings fix only for function 'map' (#36319)
Add more test and applay changes form review

* [@types/underscore] Fix #36308 - underscore has bad chain typings fix only for function 'map' (#36319)
 - Add more test
 - revert part of typings for function

* Comment part of test with currently didn't pass
2019-07-01 11:10:48 -07:00
Vincenzo Chianese a59cd46314 yet other fixes for swagger types (#36164)
* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* tweak stuff

* chore: simplify and put any
2019-07-01 11:09:45 -07:00
Ajay 43b735cdf0 [@types/express-http-proxy] Add proxyReqBodyDecorator property to ProxyOptions (#36485)
* feat: add proxyReqBodyDecorator to ProxyOptions

* style: group all callback functions
2019-07-01 11:08:27 -07:00
Jed Thompson 9c3af8d04e [is-number] Added num is number user defined type guard as r… (#36550)
* [is-number] Added user defined type guard

* [is-number] Added string to type guard
2019-07-01 11:08:01 -07:00
Mitsuka Hanakura a.k.a. ragg 1d5b54b3fd [mousetrap] Fix different from the actual return types (#36543)
* Fix MousetrapStatic returned type

* Fix MousetrapInstance returned type
2019-07-01 11:07:13 -07:00
Michael J. Currie 62ca99d819 [webappsec-credential-management] Align AuthenticatorSelection… (#36522)
* rename AuthenticatorSelectionCriteria property

* update AuthenticatorSelectionCriteria property

* fix line endings
2019-07-01 11:06:45 -07:00
Todd Bealmear 08ba1b8dfa [hapi-pino] Support scoped Hapi package, update for 6.x (#36425) 2019-07-01 11:02:02 -07:00
Anton Dosov c86d5c4ed9 [Luxon] fix ToRelativeUnit type (#36540)
There was a mistake in docs: https://github.com/moment/luxon/commit/83d350c46f3cf59567e574b121c39fdd4a6960da
2019-07-01 10:25:53 -07:00
Elizabeth Samuel c8a89bc403 [office-js-preview] (Outlook) Update InternetHeaders (#36529)
* [office-js-preview] (Outlook) Update InternetHeaders

* Update based on feedback
2019-07-01 10:24:00 -07:00
Colby M. White 3db0acafb2 feat(chance): add missing string/character options (#36548) 2019-07-01 10:23:10 -07:00
CameronDiver 7797cfdd1a [Dockerode] Add Mounts field to ContainerInfo (#36568)
Also add the optional name field to ContainerInspectInfo.Mounts

Signed-off-by: Cameron Diver <cameron@balena.io>
2019-07-01 10:21:42 -07:00
Maurice de Beijer 54467edc57 Yup: Allow specific type with oneOf and mixed schema (#36544) 2019-07-01 10:21:03 -07:00
Amiram Korach 70b2277ccd Inboxsdk update (#36556)
* update inboxsdk according to current docs

* update inboxsdk according to current docs
2019-07-01 10:18:16 -07:00
Colin Doig d105458a1b googlemaps - google.maps.Map.getProjection() can return null (#36559)
* add ImageMapType properties.
ImageMapTypeOptions.tileSize is required
add StyledMapType properties

* google.maps.Map.getProjection() can return null.

* google.maps.Map.getProjection() can return null.
2019-07-01 10:17:10 -07:00
Rifa'i M. Hanif 06ed1c2d10 [ol] Fix external import with same member name. (#36569) 2019-07-01 10:16:25 -07:00
Connor Fitzgerald 052e672bb8 Add pino-std-serializers (#36573)
* WIP updating oracledb typings to 3.1.2

* WIP

* SODA WIP

* .d.ts done. Needs tests writing

* Finished

* Added pool stats methods. Fixed bug with BindParameter being string or number

* Making _enableStats optional

* Allow parameters to be nulled

* Capitalise namespace

* Update contribution URL

* Revert "Update contribution URL"

This reverts commit f329d293dceaf44832ae3424753c1ccb98378df2.

* Update contribution URL

* Change poolAlias to string. SODA not in preview. Add BindParameters interface

* getRows should not return void

* Added pino-std-serializers
2019-07-01 10:09:51 -07:00
Oscar Busk f1dd462706 [@types/load-google-maps-api] Update for 2.0 (#36576)
* Update load-google-maps-api for 2.0

* Add typescript version to @types/load-google-maps-api
2019-07-01 09:42:16 -07:00
jon-fearer 8ac053d2d1 Add new type definitions for parquetjs (#36533)
* initial commit for @types/parquetjs

* auto formatting changes

* fix remaining linter errors

* more autoformatting changes

* fix linter errors

* tsconfig should max standard dt tsconfig

* created tests from docs

* added optional and nullable fields

* remove unnecessary namesplace declaration
2019-07-01 08:34:17 -07:00
Levi Bostian 289c140c20 Add typings for connect-trim-body npm module (#36211)
* Add typings for connect-trim-body npm module

* Remove patch version from header
2019-07-01 08:33:28 -07:00
Ryan Gibson c70052078f [@types/enzyme] adding invoke definition to support enzyme@3.10 (#36157)
* [@types/enzyme] added `invoke` type definition and tests.

* Fixing Linting Errors

* Removing creating patch

* Tightened `invoke` signature, DRY up common invoke tests, more...

More..
1. Removed tests that were testing the function returned worked as intended.
2. Added tests that focus more on proving the returned function matches the type mapped to the key provided.

* Cleaned up tests to rely less on assignment checking

* Clean up + Add optional function props to key selector

Realized restricting the keys to only those that must be undefined
doesn't work well. Also updated the the function base to include
function with many signature. I noticed that some were getting
left off after converting from Function to () => void.

Cleaned / Reverted some lines and indents. Probably will need to
do more.

* Cleaning up whitespace

* more whitespace shenanigans.

* updated version to 3.10
2019-07-01 08:32:33 -07:00
Desmond Koh 712759ce5e Export SOCKET_KEY from feathersjs/socket.io (#36099)
* Updated @feathersjs/socket-commons

* Fixed linting errors.

* Added type definitions for hook-less service methods.

* Revert "Added type definitions for hook-less service methods."

This reverts commit 14e8062a57f68b7c338ee092fb3e5cfea9e6f226.

See https://github.com/DefinitelyTyped/DefinitelyTyped/pull/34684

* Improved service typings.

* Fixed tests.

* Fixed lint.

* Fixed typo.

* fix: Handle multiple dependent keys

* Updated header

* fix lint errors

* fix lint errors

* Added SOCKET_KEY export.

* Updated header.

* Removed unecessary imports.
2019-07-01 08:30:17 -07:00
Akuukis 7004a8e388 [eventsource] compatibility with non-DOM consumers (#36259)
* feat(eventsource): compat with non-dom consumers

* test(eventsource): test dom and void seperately

* chore(eventsource): simplify dom-monkeypatch
2019-07-01 08:28:01 -07:00
Matt fd5ddb9e4b Type for Cordova SQLite pouchdb adapter (#36395)
* Types for pouchdb cordova sqlite adapter

* Tests

* Remove empty interface

* Formatting tweak

* Fix whitespace

* Link to specific package

* Corrected heading comment

* Matching version number style from build

* Missing reference from main index

* Increment version
2019-07-01 08:26:15 -07:00
TypeScript Bot 622d32ca3f Update CODEOWNERS (#36551) 2019-07-01 07:38:50 -07:00
Erik 6aff801827 fix typo in zIndices property name (#36570) 2019-07-01 15:08:50 +02:00
Benas Svipas 9761062ec2 @types/react-native: fix StyleSheet.create() styles parameter (#36554)
* Fix StyleSheet.create() styles parameter

* Add tests
2019-07-01 11:53:00 +02:00
hwwi c2f6a819e1 [@types/relay-runtime] Add some missing properties (#36563) 2019-07-01 11:51:14 +02:00