@mappable-world/mappable-types
Advanced tools
Comparing version 1.0.15728622 to 1.0.15731128
@@ -37,8 +37,9 @@ import type { LineStringGeometry, Margin, MultiLineStringGeometry, MultiPolygonGeometry, PointGeometry, PolygonGeometry, LngLat } from "../../common/types"; | ||
/** [x, y] */ | ||
screenCoordinates: [ | ||
readonly screenCoordinates: [ | ||
number, | ||
number | ||
]; | ||
coordinates: LngLat; | ||
stopPropagation: () => void; | ||
readonly coordinates: LngLat; | ||
readonly details: Pick<MouseEvent | PointerEvent | TouchEvent, 'type' | 'shiftKey' | 'altKey' | 'metaKey'>; | ||
stopPropagation(): void; | ||
} | ||
@@ -45,0 +46,0 @@ export interface FeatureClickEvents { |
@@ -9,7 +9,10 @@ import type { IndoorPlan, PixelCoordinates } from "../../common/types"; | ||
export interface DomEvent { | ||
coordinates: LngLat; | ||
screenCoordinates: [ | ||
/** [x, y] */ | ||
readonly screenCoordinates: [ | ||
number, | ||
number | ||
]; | ||
readonly coordinates: LngLat; | ||
readonly details: Pick<MouseEvent | PointerEvent | TouchEvent, "type" | "shiftKey" | "altKey" | "metaKey" | "ctrlKey">; | ||
stopPropagation(): void; | ||
} | ||
@@ -16,0 +19,0 @@ type HandlerEntity<TType extends string, TEntity> = { |
{ | ||
"name": "@mappable-world/mappable-types", | ||
"version": "1.0.15728622", | ||
"version": "1.0.15731128", | ||
"description": "Types for mappable maps library", | ||
@@ -5,0 +5,0 @@ "main": "", |
172299
4403