This commit is contained in:
Alex Dima
2019-11-15 17:27:08 +01:00
parent f0ec8373f3
commit da112cdb5a
8 changed files with 47 additions and 41 deletions

View File

@@ -443,7 +443,7 @@ export interface DOMEvent {
}
const MINIMUM_TIME_MS = 16;
const DEFAULT_EVENT_MERGER: IEventMerger<DOMEvent, DOMEvent> = function (lastEvent: DOMEvent, currentEvent: DOMEvent) {
const DEFAULT_EVENT_MERGER: IEventMerger<DOMEvent, DOMEvent> = function (lastEvent: DOMEvent | null, currentEvent: DOMEvent) {
return currentEvent;
};