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.
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.
* 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
* 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
* 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.
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.
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.
* 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
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
* 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
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.