* Updating type definitions for each, partition, and toArray and adding tests.
* Adding a multi-call chain test.
* Fixing some issues around type unions and implicit any errors for each by redefining CollectionIterator to only use conditional types to determine the potential key type for the iterator.
* Adding tests around issues fixed by the change to CollectionIterator and updating the base each tests to be a more interesting and abbreviated.
* Adding identity iteratee tests for partition and making the identity iteratee tests for find, filter, and reject more realistic by using potentially falsy types.
* Removing IterateePropertyShorthand because the last thing that was using it got updated at some point and I forgot to remove it at that time.
* Update summary comments to reflect that the iteratee for `each` is always a function.
* Moving EnumerableKey and CollectionKey up above the iterators.
* Updating CollectionIterator and MemoCollectionIterator to be interfaces instead of types and updating MemoCollectionIterator to use the same pattern as CollectionIterator.
* Updating Array<EnumerableKey> to EnumerableKey[] to match other array usages elsewhere in these definitions.
* Adding tests for the more complicated Iteratee and IterateeResult types.
* Dropping extra overloads of reduce and reduceRight since getting rid of the extends checks in MemoCollectionIterator seems to have gotten rid of the result narrowing issue that was previously preventing that from working.
* Dropping MemoIterator and MemoObjectIterator since they're no longer referenced.
* While I'm cleaning up reduce and reduceRight anyway, also updating the Underscore and _Chain versions of them to use T instead of TypeOfCollection<V> more often.
* Revert "Dropping MemoIterator and MemoObjectIterator since they're no longer referenced."
This reverts commit 53d67598c4a269d8f9dc4ff2e124031c1f9ba2ec.
* Updating non-collection iterator types to be aliases of collection iterator types.
* Putting better constraints on iterators and temporarily reverting back to not using T in a few places to compensate.
* Adding missing $ExpectTypes in function Iteratee tests.
* Adding null to Iteratee and IterateeResult and moving undefined to the end of those types.
* Adding null iteratee tests.
* replaced all commas with semicolons
* removed deprecated geo property from Status
* created SymbolEntity and PollEntity
* updated Entities interface
* updated Status interface
* organized Status interface alphabetically
* format code with prettier
* check if the property has value
* updated test
According to the documentation, consumers of the raygun4js package should be able to enable / disable including the body of XHR requests in the breadcrumbs using the logContentsOfXhrCalls command. This change adds support for the logContentsOfXhrCalls command to the official types package.
See https://raygun.com/documentation/language-guides/javascript/crash-reporting/breadcrumbs/#configuration-options for the full documentation of the logContentsOfXhrCalls option.
* Add generic support to jest.mock and jest.doMock
Allow jest.mock and jest.doMock to support generics which apply a measure of type-safety to the factory function which can be provided.
* Update Jest mock and doMock generic typings to be more specific
Remove Partial support in the MockModuleFactory function. Enforce '__esModule: true' to be delcared whenever a type with a default property is provided. Remove unnecessary overload typings of mock and doMock
* fix typing error for rowHeight prop in react-sortable-tree SortableTree component
* bump version up to date
* revert version and shorten typing
* ran prettier on test and definition files
* Add options parameter for loadSVGFromURL
Add comments for parameters
* Fix "options" type as "{ crossOrigin?: string }"
Add tests code to test of "options"
PR
https://github.com/DefinitelyTyped/DefinitelyTyped/pull/46101
Co-authored-by: mwmw7 <cto@toonsquare.co>
* Add support for new props in 6.1.5
* add style, deprecation warning
* remove blank line
* Fix: make viewstyles optional
* Use interface rather than type alias
* Updating type definitions for without, uniq, and sortedIndex and adding tests.
* Updating summary comments for updated functions to be less than 80 characters long and adding a lowest index distinction to sortedIndex summary comments.
* Adding matcher iteratee tests for uniq and sortedIndex.