Commit Graph
64653 Commits
Author SHA1 Message Date
Denis MalinochkinandMichael Crane c313dca7d1 Update types for glob-parent to version 5.1 (#38521) 2019-09-26 11:43:21 -07:00
Pierre-Antoine MillsandNathan Shively-Sanders 2df4096252 [ramda] accurate types for mergeAll & a fix (#38632)
* fix: added 'deep' to `mergeDeepRight`'s type

* fix: merge types

* fix: missing semicolon

* fix: bad test
2019-09-26 11:26:47 -07:00
michael-whiandMichael Crane ca615dcc7a [ECORE] - Marks for interface Resource, parse method. (#38543)
* Added ecore types.

* Little fix.

* Little marks.

* Fixed default export.

* Import/Export marks.

* Fixed default export.

* Marks.

* Test.

* Test.

* -Deleted wrong def eContent in EObject
-Marks in EPackage and EPackageRegistry

* Interface Resource, parse, second parameter 'loader' has to be optional.
2019-09-26 10:52:24 -07:00
Nathan Shively-Sanders c5f1369cbd Silence upcoming error in TS 3.7
The error tries make sure you don't use a truthy check on a function
instead of calling. But the code in the tests is in fact checking for
the presence of the function.
2019-09-26 10:33:05 -07:00
AppLover69andBen Lichtman 792b469dea Add definitions for ebml@3.0.0 (#38549)
* Add definitions for ebml@3.0.0

* Use imported type
2019-09-26 09:46:00 -07:00
Adam MichelandEloy Durán ae22f59acd [react-native] Add Alert.prompt method def. (#38602)
Add `Alert.prompt` method definition from https://github.com/facebook/react-native/blob/89e3f70eab74b722d517c9885ae52c366d0b2315/Libraries/Alert/Alert.js#L103-L173.
2019-09-26 10:51:45 +02:00
Scott JonesandBen Lichtman dbc9275f37 json-rules-engine (#38613)
* add types for turndown

* use auto-genned tsconfig and tslint

* add dom types

* re-generate module

* fix tests and typescript version

* feature/json-rules-engine: add initial types for json-rules-engine

* feature/json-rules-engine: update test

* also satisfy linter

* feature/json-rules-engine: update types

* chore: pre-commit hook fixes

* chore: fix missing optional param

* feature/json-rules-engine: remove generic type
2019-09-25 16:48:34 -07:00
Gabriel MontesandBen Lichtman 008bc5cc70 Fix web3.eth.subscribe callback type (#38383)
The callback function of `web3.eth.subscribe` is a `Callback` but the type is not i.e. a `Subscribe<BlockHeader>`, it is a plain `BlockHeader`. This fix applies to all the subscription types.
2019-09-25 16:44:54 -07:00
Phil ColeandBen Lichtman 5ae53c2f54 [xrm] Add parameter to formContext.ui.refreshRibbon (#38386)
* Add parameter to formContext.ui.refreshRibbon

* Fix whitespace for linting
2019-09-25 16:42:22 -07:00
Mark DascherandBen Lichtman 71cbf65749 [@types/react-json-pretty] Add replacer, space, and themeClassName props for v1.7 (#38509)
* [@types/react-json-pretty] Add replacer, space, and themeClassName props for v1.7

* use 4 spaces and single quotes
2019-09-25 16:40:45 -07:00
Guillaume FrauxandBen Lichtman 1b5c36ed9f Plotly.js: add support for colorscale and numeric colors (#38441) 2019-09-25 16:38:01 -07:00
Evan ShortissandBen Lichtman 6b37d23b30 support heatmap flag in google-map-react (#38403)
* support heatmap flag in google-map-react

* add options callback to google-map-react and bump version

* fix linting error

* fix formatting
2019-09-25 16:35:39 -07:00
AndyLndandBen Lichtman 17e59cd0f1 fix(markdown-it): TokenRender returns string (#38461) 2019-09-25 16:34:28 -07:00
Matt ScheurichandBen Lichtman 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 HoandBen Lichtman 0881aed62f Add TrustedServer type to cesium (#38354) 2019-09-25 16:15:19 -07:00
baiyufeiandBen Lichtman 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 IvanovandBen Lichtman 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 SkxandBen Lichtman 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 VerhelstandBen Lichtman 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
阿林andBen Lichtman 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
GheorgheandBen Lichtman b3f478f123 Add PromptObject Return to Prompt Function (#38245) 2019-09-25 15:53:49 -07:00
Harry ParkandBen Lichtman 80c6d50779 feat(koa): default state + default context (#37901) 2019-09-25 14:51:50 -07:00
Joel SpadinandBen Lichtman a0d47c0ec4 npm-registry-fetch: Fix fetch.json return type (#38606) 2019-09-25 14:48:45 -07:00
Claus StilborgandMichael Crane 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 KaletskyandMichael Crane 308e471106 slonik 19 (#38524)
* chore: tests for slonik 19

* feat: slonik 19
2019-09-25 14:32:34 -07:00
Ifiok JrandMichael Crane 63e8585f24 prosemirror-view: fix decoration inline spec (#38594) 2019-09-25 14:30:44 -07:00
Boris MooreandMichael Crane 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 MillsandMichael Crane 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 DeverellandMichael Crane 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 MurphyandMichael Crane f8aff22606 unist-util-is now has native typings (#38577) 2019-09-25 14:09:16 -07:00
Chiciuc NicușorandMichael Crane 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 SamuelandMichael Crane 22ac2d9abd [office-js] [office-js-preview] (Outlook) Update minimum perm for GetSelectedDataAsync (#38552) 2019-09-25 13:55:28 -07:00
Jimmy JiaandEloy Durán 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 SilbermannandMichael Crane 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 PomboandMichael Crane 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-SandersandGitHub 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, YongjoonandMichael Crane 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 SantaluciaandMichael Crane 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
GuillaumeandMichael Crane 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șorandMichael Crane f0c225fa62 Allow passing HTMLVideoElement to the Image class. (#38590) 2019-09-25 13:22:33 -07:00
Maxime LUCEandBen Lichtman 5ee9c5b516 Add anyproxy typings (#38599) 2019-09-25 13:11:08 -07:00
Offir GolanandBen Lichtman 849833834c types for setup-polly-jest (#38600) 2019-09-25 13:03:44 -07:00
Austin BonanderandBen Lichtman 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 GolanandBen Lichtman f966375bc7 @pollyjs/node-server types (#38597) 2019-09-25 12:50:29 -07:00
Chiciuc NicușorandMichael Crane 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 SpadinandMichael Crane 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 PeitschandMichael Crane 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 RegueiraandBen Lichtman fa036bbb48 move preservePath property to root options (#38486) 2019-09-25 11:31:14 -07:00
MichaelandBen Lichtman 95fa61dc89 Add types for concurrently (#38580) 2019-09-25 11:21:28 -07:00
Christof SirkandMichael Crane 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