* Added forEach and changed signatures for existing T[] functions
T becomes Immutable<T>, T[] becomes Immutable<T[]>.
* Corrected whitespace
* More whitespace..
* asMutable, concat, isImmutable signatures
Expanded asMutable to have 3x options with the same signature, allowing
correct typed result when possible.
* Further improvements to concat
* Further addition of Immutable<T> to concat
* Fixing up errors from automated tests around complex Array types
* Travis CI objected to default generic parameters being included - fixed
* Edit as review feedback (TDeep) and corrected array indexer
Changed TDepthBoolean to TDeep as suggested.
Removed mutable indexer and added immutable accessor for ImmutableArray
- note that adding this directly into
* Reverting indexer changes that broke tslinting..
* Reverting indexer changes that broke tslinting...
* Re-adding indexer tweaks
Linter seems happy when not running Indexer through Readonly<T>. While I
was at it, I removed the Readonly<T> from Additions and Overrides given
that they are specified immediately below and are completely readonly..
* Corrected default asMutable, added some tests
Responded to PR feedback about asMutable with no parameters.
Added a few test cases for asMutable to ensure that cases have correct
result type.
Fixed an incorrect previous test.
* Removing 'number' seems necessary as the result type differs
* Updated tests to use $ExpectsError (or not) to check immutability of results
* Update seamless-immutable-tests.ts
Added additional test.
Cleaned up some comments.
Simplify `ConnectionOptions` due to removal of `open` and `openSet` and to
eliminate duplication of type definitions from `@types/mongodb`.
Fix the return types of `connect`, `openUri`, and `createCollection`
* Added callback to fluxible rehydrate function definition
* Fixed the type of the rehydrate callback property in fluxible
* Made callback function optional in fluxible's rehydrate
* Fixed callback parameter for rehydrate in fluxible
* fix(passport-http): use unused template param
It looks like this was rigged up so the appropriate callback definition could be inferred, but one detail got missed.
* test(passport-http): add tests demonstrating passReqToCallback
* [yandex-maps] Fix module format
* Add missing each() method for layers
* Make context optional in each()
* Add tests for layers.each()
* object → layer in arg name
* Try fixing CI
* Ignore "export-just-namespace" rule
* export as namespace too
* Account for the fact that getBrightness() is an optional method
* Update WebHookOptions interface in response to #35206
* Set `key`, `cert` and `pfx` within the Webhook Options to be optional values, per issue #35206
* Update definition tests to test the new changes
* Resolve lint issues with chagnes to node-telegram-bot-api
Changing to match Stripe's reference documentation:
> "All events have a payload object that has an elementType property with the type of the Element that emitted the event."
See:
* https://stripe.com/docs/stripe-js/reference#element-on
'constructor' is now forbidden as a property name because in 3.4 the
compiler thought it created a property, but in ES2015 it actually
created a constructor. I replaced them with computed properties, which
is still wrong, but backward compatible.
The es2015.promise lib no longer has an iterator type in it. You need to
explicitly reference es2015.iterator