Skip to content

Commit

Permalink
FIX now exporting all the types from ML
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanlurie committed Mar 14, 2024
1 parent 46366f7 commit 49e9fae
Showing 1 changed file with 23 additions and 21 deletions.
44 changes: 23 additions & 21 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,29 @@ import packagejson from "../package.json";
import maplibregl from "maplibre-gl";

// Exporting types from MapLibre
export {
type IControl,
type CustomLayerInterface,
type PaddingOptions,
type LngLatLike,
type PointLike,
type LngLatBoundsLike,
type Source,
type MapTerrainEvent,
type MapStyleImageMissingEvent,
type MapStyleDataEvent,
type MapSourceDataEvent,
type MapLibreZoomEvent,
type MapLibreEvent,
type MapLayerTouchEvent,
type MapLayerMouseEvent,
type MapLayerEventType,
type MapEventType,
type MapDataEvent,
type MapContextEvent,
} from "maplibre-gl";
// export {
// type IControl,
// type CustomLayerInterface,
// type PaddingOptions,
// type LngLatLike,
// type PointLike,
// type LngLatBoundsLike,
// type Source,
// type MapTerrainEvent,
// type MapStyleImageMissingEvent,
// type MapStyleDataEvent,
// type MapSourceDataEvent,
// type MapLibreZoomEvent,
// type MapLibreEvent,
// type MapLayerTouchEvent,
// type MapLayerMouseEvent,
// type MapLayerEventType,
// type MapEventType,
// type MapDataEvent,
// type MapContextEvent,
// } from "maplibre-gl";

export type * from "maplibre-gl";

const {
// supported,
Expand Down

0 comments on commit 49e9fae

Please sign in to comment.