Fix type check errors in ol/pointer

This commit is contained in:
Kevin Schmidt
2018-10-03 10:41:29 -06:00
parent 83763a73d9
commit d3a82b0586
4 changed files with 9 additions and 8 deletions

View File

@@ -226,7 +226,7 @@ class MouseSource extends EventSource {
* @param {import("./PointerEventHandler.js").default} dispatcher Event handler.
* @return {Object} The copied event.
*/
function prepareEvent(inEvent, dispatcher) {
export function prepareEvent(inEvent, dispatcher) {
const e = dispatcher.cloneEvent(inEvent, inEvent);
// forward mouse preventDefault