The signature of callbackOrButtons allows either:
1. function that returns void
2. array of AlertButton
Instead the current signature does:
1. function that returns void or an array of AlertButton
This fixes the signature to be correct.
* Fix callback handler inputs
Based on both react-map-gl documentation and trying things out, types
ViewportChangeHandler and ViewStrateChangeHandler both receive a
ViewportProps as input, rather than ViewState as was defined. This
commit fixes that problem.
Fields that were missing include at least 'width' and 'height',
important for working with an auto-resizing map.
* [react-map-gl] ExtraState interface fix
Add missing parameters to ExtraState interface, mark all as optional.
Any or none may be included in a ExtraState object when such is used.
* [react-map-gl] New onViewStateChange inputs
Added new input parameters 'interactionState' and 'oldViewState' to
callbacks 'onViewportChange' and 'onViewStateChange' in
'MapControllerOptions', 'InteractiveMaps' and 'MapContextProps'. There
are also other places where callbacks with similar names are used. But
in those cases, the extra parameters are never used. Because of this,
there are now two different types for callback functions.
* @ember/polyfills: support `undefined`.
Fixes#38681.
* @ember/utils: support JS objects in `typeOf`.
- Fixes#36809.
- Fixestyped-ember/ember-cli-typescript#799
* @ember/debug: add `deprecate` type and tests
Fixes#38682.
* move 'median' tests to separate file
* move 'memoizeWith' tests to separate file
* move 'merge' tests to separate file
* move 'mergeAll' tests to separate file
* move 'mergeDeepLeft' tests to separate file
* move 'mergeDeepRight' tests to separate file
* move 'mergeDeepWith' tests to separate file
* move 'mergeDeepWithKey' tests to separate file
* move 'mergeLeft' tests to separate file
* move 'mergeRight' tests to separate file
* move 'mergeWith' tests to separate file
* move 'mergeWithKey' tests to separate file
* move 'min' tests to separate file
* move 'minBy' tests to separate file
* move 'modulo' tests to separate file
* move 'move' tests to separate file
* move 'multiply' tests to separate file
* move 'nAry' tests to separate file
* move 'negate' tests to separate file
* move 'none' tests to separate file
* chore(filename): adding filename type to rn-share
* chore(test): implementing test to share-single with filename
* feat(definitions-by): adding username to definitions on rn-share
* correctly support options with Chance#n method
* correctly support options with Chance#unique method
* correctly support options with Chance#unique method
* Updated IInvoice to be inline with current stripe documentation.
Added taxRate namespace
* Re-added removed items and marked them as deprecated and optional.
Fixed linting
* adding a ton of obvious fields to the ffprobe information
* adding tests, fixing issues uncovered by linter
* adding tests, fixing issues uncovered by linter
* I undoing some extra whitespace that the hooks are adding for some reason
* adding newline per linter demand
* handleKeyCommand may return null
Even some values of DraftEditorCommand may result in a null return
from handleKeyCommand, for example 'move-selection-to-start-of-block'.
* onBackspace, onDelete, and tryToRemoveBlockStyle may return null
These functions will return `null` if the selection is not collapsed.
* Update signature on unstable_scheduleCallback
* Update test
* Update scheduler version
* Add optional timeout back to the options
* Added new test case for the optional delay