Transformed types
Using the [ts.js codemod](https://gist.github.com/tschaub/1ea498c9d1e5268cf36d212b3949be4e): jscodeshift --transform ts.js src
This commit is contained in:
@@ -61,7 +61,7 @@ class Event {
|
||||
|
||||
|
||||
/**
|
||||
* @param {Event|module:ol/events/Event} evt Event
|
||||
* @param {Event|import("./Event.js").default} evt Event
|
||||
*/
|
||||
export function stopPropagation(evt) {
|
||||
evt.stopPropagation();
|
||||
@@ -69,7 +69,7 @@ export function stopPropagation(evt) {
|
||||
|
||||
|
||||
/**
|
||||
* @param {Event|module:ol/events/Event} evt Event
|
||||
* @param {Event|import("./Event.js").default} evt Event
|
||||
*/
|
||||
export function preventDefault(evt) {
|
||||
evt.preventDefault();
|
||||
|
||||
Reference in New Issue
Block a user