Commit Graph
64667 Commits
Author SHA1 Message Date
Robert Stocks a9c67da719 lodash: fix flattenDeep to correctly handle strings (#38625)
* lodash: fix flattenDeep to correctly handle strings

* fix whitespace
2019-09-26 16:06:08 -07:00
Matthew Peveler 50fab9758a add: type definitions for isstream (#38611)
* add: type definitions for isstream

* address reviewers comments
2019-09-26 16:03:47 -07:00
James Hong 87be2f30cd Adds type support for subset declaration (#38617) 2019-09-26 15:22:12 -07:00
Scott Jones c72edfe745 json-rules-engine: update missing operator string type (#38644)
* 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

* feature/json-rules-engine: fix missing operator string
2019-09-26 15:20:17 -07:00
Joel Spadin 7b9a50b43c libnpmsearch: Fix detailed score type (#38614) 2019-09-26 15:19:48 -07:00
Rickard Dybeck a583053586 Add log to pg.PoolConfig (#38572)
The log attribute on PoolConfig allows you to attach a logger to debug
what's going in inside the pg-pool.
2019-09-26 13:51:09 -07:00
Li Cui dfac3b68e1 RUN-5646 release 45 version for openfin (#38595)
* add v43 folder

* update to v45

* remove a useless file

* update the version to 45

* update baseUrl
2019-09-26 13:48:10 -07:00
Nathan Shively-Sanders 72848f9624 console-ui now uses Readable/WritableStream from node (#38641)
Previously, it used process.Readable/Writeable. But its tests show that the
constructor is meant to take process.stdin, which is a ReadStream. Until
recently, the two types were mistakenly assignable. Now that they are
not, I think the type should be ReadableStream, which is a common
supertype of process.Readable and ReadStream.
2019-09-26 12:32:55 -07:00
Marco Manino ed41e25e73 Typings for individual Decoder factory (#38631)
Decoder can be built standalone (is part of the actual public interface
and part of the performance-test interface described in the README.md of
the project). Moreover, Decoder is an event emitter. The interface has
been update accordingly.
2019-09-26 12:09:06 -07:00
Daniel Kukula 06886907f1 add 'lrgb' to chroma-js InterpolationModes (#38604) 2019-09-26 12:08:03 -07:00
Krisztián Balla 17e6fe2e0f Updated gettext.js type definition (#38605)
* Update index.d.ts

Member "locale" of interface "JsonDataHeader" was renamed to "language".

* Update gettext.js-tests.ts

Updated test according to type definition changes.

* Updated version number to 0.8
2019-09-26 12:06:20 -07:00
Callum Macdonald f8d91d79ea Redis add flushall async (#38542)
* Add ASYNC flushall to redis

* Add ASYNC to flushdb / redis

* Linting fix. Correct type order.

* Copy ASYNC flushall / flushdb to ts3.1 types
2019-09-26 12:00:23 -07:00
Alex Povar 7456aa4eec [jasmine] Improve various library types (#38412)
* Move Func helper to jasmine namespace

* Move ImplementationCallback to jasmine namespace

* Align tests between different versions

* Fix typings for spyOnAllFunctcions

* Improve typing for function matchers

* Refactor AsymmetricMatcher to handle all cases

* Enhance basic expectation docs and typing

Improve toBe(), toEqual(), toMatch(), toHaveClass()
documentation to avoid confusion around them.

* Enhance any() and anything()

* Add missing typing for non-named spy object

* Specify that jasminewd2 depends on jasmine v2

The jasminewd2 library supports jasmine 2 only,
therefore point typings to the correct reference.

* Add NonTypedSpyObj for complex scenarios

* Improve tool for spy names extraction

* Remove undefined Any property from matchers
2019-09-26 11:58:51 -07:00
Dobes Vandermeer 7564c78a0a react-helmet: remove default export (#38557)
* react-helmet: remove default export

This package does not have a default export.

* react-helmet-async: bump typescript version

This depends on react, which has typescript version 2.8, so this
package has to be updated to match.
2019-09-26 11:49:22 -07:00
Denis Malinochkin c313dca7d1 Update types for glob-parent to version 5.1 (#38521) 2019-09-26 11:43:21 -07:00
Pierre-Antoine Mills 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-whi 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
AppLover69 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 Michel 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 Jones 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 Montes 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 Cole 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 Dascher 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 Fraux 1b5c36ed9f Plotly.js: add support for colorscale and numeric colors (#38441) 2019-09-25 16:38:01 -07:00
Evan Shortiss 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
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