Commit Graph
64641 Commits
Author SHA1 Message Date
AndyLnd 17e59cd0f1 fix(markdown-it): TokenRender returns string (#38461) 2019-09-25 16:34:28 -07:00
Matt Scheurich 7823adabc9 Updated types for jest-json-schema@2.1 (#38465)
* updated jest-json-schema types with latest version of Ajv and support for extendAjv in matchersWithOptions

* updated jest-json-schema version in header

* removed patch version from header
2019-09-25 16:31:18 -07:00
Wing Ho 0881aed62f Add TrustedServer type to cesium (#38354) 2019-09-25 16:15:19 -07:00
baiyufei d544b41b87 Create a type definition for npm module hark (#38375)
* Create a type definition for npm module hark

* Update index.d.ts

* Update index.d.ts
2019-09-25 16:12:57 -07:00
German Ivanov 444e10e486 [node-asana] Add support for sections, gid, string ids, nextPage method for collections, support deprecation framework (#38103)
* feat: add support for sections, gid, string ids, nextPage method for collections

* feat: make section memebership nullable

* fet: make tasks completed_at field nullable

* feat: add section findById and events API

* fix: return bluebird types

* feat: add event related types

* feat: add suport for event error messages

* feat: add project attribute to the event section
2019-09-25 16:11:43 -07:00
David Skx d214c694c7 add support for SOFORT payments without SourceOptions (#38297)
* add support for SOFORT payments within SourceOptions

please see https://stripe.com/docs/sources/sofort for details

* add semicolon

* add semicolon
2019-09-25 16:08:34 -07:00
Bert Verhelst 04d87f9e90 Add types for map functions with promise return (#38294)
When no callback is passed, the function should return a promise (since version 3.0.0)
https://github.com/caolan/async/blob/master/CHANGELOG.md#v300
2019-09-25 16:07:01 -07:00
阿林 3889492dec [@types/node] add destroyed property for Readable and Writable (#38237)
* [@types/node] add `destroyed` property for Readable and Writable

1. https://nodejs.org/dist/latest-v12.x/docs/api/stream.html#stream_readable_destroyed
2. https://nodejs.org/dist/latest-v12.x/docs/api/stream.html#stream_writable_destroyed

* [@types/node] add test for readable.destroyed/writable.destroyed

1. Property 'destroyed' is missing in type 'WriteStream' but required in type 'Writable'
2. check `destroyed`

* fixed: replace Readable with ReadableStream
2019-09-25 16:04:49 -07:00
Gheorghe b3f478f123 Add PromptObject Return to Prompt Function (#38245) 2019-09-25 15:53:49 -07:00
Harry Park 80c6d50779 feat(koa): default state + default context (#37901) 2019-09-25 14:51:50 -07:00
Joel Spadin a0d47c0ec4 npm-registry-fetch: Fix fetch.json return type (#38606) 2019-09-25 14:48:45 -07:00
Claus Stilborg 3479b2a1da Prettier index.d.ts, stripe-tests.ts, no more nits (#38558)
Massive changes to the files, but linting works, but tsc des not,
due to the expected error in stripe-tests.ts
I personally value tsc over linting, but that is for a different PR
2019-09-25 14:36:39 -07:00
Misha Kaletsky 308e471106 slonik 19 (#38524)
* chore: tests for slonik 19

* feat: slonik 19
2019-09-25 14:32:34 -07:00
Ifiok Jr 63e8585f24 prosemirror-view: fix decoration inline spec (#38594) 2019-09-25 14:30:44 -07:00
Boris Moore 26dec26792 Add jsrender to notNeededPackages, since the jsrender npm package (#38608)
now bundles its own typescript definition

 # Please enter the commit message for your changes. Lines starting
2019-09-25 14:29:33 -07:00
Pierre-Antoine Mills b2f10d33fe [ramda] improvements & urgent fixes (#38503)
* accurate merge types

* fix: flatten & now works with unlimited nesting

* fix: typo

* update ts-toolbelt

* all arrays can be readonly

* fix broken keys function

* fix: flatten & unnest

* fix: tests

* fix: missing semicolon
2019-09-25 14:24:39 -07:00
Mike Deverell e7dd848801 [ramda] split tests to separate modules: 'join' - 'mean' (#38570)
* move 'join' tests to separate file

* move 'juxt' tests to separate file

* move 'keys' tests to separate file

* move 'keysIn' tests to separate file

* move 'last' tests to separate file

* move 'lastIndexOf' tests to separate file

* move 'length' tests to separate file

* move 'lens' tests to separate file

* move 'lensIndex' tests to separate file

* move 'lensProp' tests to separate file

* move 'lt' tests to separate file

* move 'lte' tests to separate file

* move 'map' tests to separate file

* move 'mapAccum' tests to separate file

* move 'mapAccumRight' tests to separate file

* move 'mapObjIndexed' tests to separate file

* move 'mathMod' tests to separate file

* move 'max' tests to separate file

* move 'maxBy' tests to separate file

* move 'mean' tests to separate file
2019-09-25 14:11:26 -07:00
Christian Murphy f8aff22606 unist-util-is now has native typings (#38577) 2019-09-25 14:09:16 -07:00
Chiciuc Nicușor 129abd98db @types/meteor: Add imports in *.d.ts files so as to remove implicit imports from /globals folder. (#38545)
* Add imports in *.d.ts files so as to remove implicit imports.

* Fix omission of Mongo import in service-configuration.d.ts
2019-09-25 14:04:23 -07:00
Elizabeth Samuel 22ac2d9abd [office-js] [office-js-preview] (Outlook) Update minimum perm for GetSelectedDataAsync (#38552) 2019-09-25 13:55:28 -07:00
Jimmy Jia 85e892a551 fix: Fix QueryRenderer props for Relay v6.x (#38607)
* fix: Fix QueryRenderer props for Relay v6.x

* fix version
2019-09-25 22:50:04 +02:00
Sebastian Silbermann c1dd9cf3e1 feat(testing-library__dom): Add byRole#hidden (#38560)
* feat(testing-library__dom): Add byRole#hidden

* Update version
2019-09-25 13:46:58 -07:00
Rodrigo Pombo fe0910342b [theme-ui] Make styles' properties optional (#38261)
* Make theme-ui styles properties optional

* Add theme-ui styles test
2019-09-25 13:42:15 -07:00
Nathan Shively-Sanders ad9de8655d Update test failure from merge conflict. (#38603)
A test written on 12 Sep was merged on 24 Sep. In between, the Props
definition it used changed so that the new test was an error.

This PR just clones the original Props type and gives it a new name.
2019-09-25 13:33:05 -07:00
Cho, Yongjoon 78d635d39a Fix DebugEngine and add test (#38556)
```
'DebugEngine' only refers to a type, but is being used as a value here.ts(2693)
```

```ts
const debug = process.env.NODE_ENV === "production" ? undefined : new DebugEngine();
```
2019-09-25 13:28:46 -07:00
Benjamin Santalucia 81f974c1a9 Fix ConnectOptions for twilio-video (#38540)
* Fix ConnectOptions

* fix: update connect() interface. Solves #38537

* chore: adjust styles

* tests: add some extra connectOption

* Remove *-ix server

see https://www.twilio.com/docs/video/ip-address-whitelisting#signaling-communication
2019-09-25 13:26:00 -07:00
Guillaume 5e7d86e145 Fixes, improvements and update to rox-react-native (#38586)
* rox-react-native: Minor improvements, update documentation links

* rox-react-native: remove internal, undocumented, removed in next release method

* rox-react-native: Upgrade package version, fix freeze options (they were plain wrong)

* rox-react-native: Fix return type, add readonly attributes

* rox-react-native: adding a few missing items

* rox-react-native: default value of a Flag is optional

* rox-react-native: More extensive tests

* rox-react-native: make fetcher result an enum

* rox-react-native: Add missing AsyncStorage parameter to setup method
2019-09-25 13:24:14 -07:00
Chiciuc Nicușor f0c225fa62 Allow passing HTMLVideoElement to the Image class. (#38590) 2019-09-25 13:22:33 -07:00
Maxime LUCE 5ee9c5b516 Add anyproxy typings (#38599) 2019-09-25 13:11:08 -07:00
Offir Golan 849833834c types for setup-polly-jest (#38600) 2019-09-25 13:03:44 -07:00
Austin Bonander 9d29625c8e google-protobuf: adjust Message.clone[Message]() (#38476)
Returning [the polymorphic `this` type](https://www.typescriptlang.org/docs/handbook/advanced-types.html#polymorphic-this-types) ensures calling `.clone()` or `.cloneMessage()` on a subclass instance doesn't require a redundant cast.
2019-09-25 12:58:19 -07:00
Offir Golan f966375bc7 @pollyjs/node-server types (#38597) 2019-09-25 12:50:29 -07:00
Chiciuc Nicușor 100f71247f [@types/simpl-schema] Add 'oneOf()' method to SimpleSchemaStatic. (#38591)
* Add 'oneOf()' method to SimpleSchemaStatic.

* Fix double StringConstructor request change.
2019-09-25 12:40:17 -07:00
Joel Spadin d84efa6950 license-checker-webpack-plugin: Fix outputWriter type (#38579)
The function is passed an object containing a dependencies array, not the array
itself.
2019-09-25 11:39:47 -07:00
Philip Peitsch 62db23a607 Add types for withPromises variant of cordova-plugin-ble-central (#38584)
* Improve variable naming slightly for clarity

* Add types for withPromises variant of cordova-plugin-ble-central

These were added some time ago in the source repo:
https://github.com/don/cordova-plugin-ble-central/blob/ac55995dc9e9d19f231c13e6bbfb9ba24b076480/www/ble.js#L229
2019-09-25 11:37:59 -07:00
Sergio Regueira fa036bbb48 move preservePath property to root options (#38486) 2019-09-25 11:31:14 -07:00
Michael 95fa61dc89 Add types for concurrently (#38580) 2019-09-25 11:21:28 -07:00
Christof Sirk 7e6c90c6e2 [ramda] fix keys for types extending object (#38467)
* fix return type of R.keys for argument extending object

* update R.keys tests with expected types
2019-09-25 11:16:54 -07:00
Guillaume 1151caa39e Add types for rox-node (#38582) 2019-09-25 11:08:13 -07:00
Joel Shinness e85685ffe0 Adds types for version 2.0 of svg-parser (#38474)
* Adds types for new version of svg-parser

* Added whitespace for union types

* Update types with feedback from mrmlnc

* Re-write test to conform with new definitions
2019-09-25 11:04:27 -07:00
Guillaume cf581aef12 [Fix] rox-browser: custom properties allow an optional context parameter (#38581) 2019-09-25 11:00:44 -07:00
Saeed Tabrizi 63901e5ea7 Update [orientjs] index.d.ts - fix some issues (#38482)
* Update index.d.ts

- fix some issues  in return type of  ODatabaseSession . 
- fix some return types one , all , scalar .

* Update [orientjs] index.d.ts

- fix some issues in typing ODatabase
- fix some issues in generics

* fix: typescript version
2019-09-25 10:59:24 -07:00
Gilad Segal 3f497eb7d9 wix-style-react: add loader types (#38587) 2019-09-25 10:58:53 -07:00
James Hong 230db3f0f1 Adds type defs for use-global-hook (#38589) 2019-09-25 10:55:46 -07:00
J.C 468176ae4b fix bug for DownloadTask (#38493)
1, change the parameter as optional for `success` callback of `DownfileParams` interface.
2, fixed bug: the parameter `callback` had a wrong type before for onProgressUpdate interface.
2019-09-25 10:55:05 -07:00
Connor Fitzgerald 1607336d36 Allow undefined bind parameters (#38496) 2019-09-25 10:54:00 -07:00
Jordan Curzon 48229011b8 pouchdb-core: Add missing update_seq field to interfaces (#38395)
* pouchdb-core: Add missing field to AllDocsOptions

Related API Docs: https://pouchdb.com/api.html#batch_fetch

* pouchdb-core: Add missing field to AllDocsResponse
2019-09-25 10:51:52 -07:00
Anders Hejlsberg 24cd81ea1f Ensure tests of non-returning functions don't cause unreachability errors (#38596) 2019-09-25 10:34:12 -07:00
Anders Hejlsberg 805bb29adb Prepare for TS #33050 (#38555) 2019-09-25 10:30:30 -07:00
Ivan Zverev 05ce01bbe4 Add types for html-to-draftjs (#38592) 2019-09-25 09:59:39 -07:00