From 7ebca6a2b66964504681bb2354ef145e8faa7cea Mon Sep 17 00:00:00 2001 From: Thorsten Date: Wed, 26 Aug 2026 13:39:34 +0200 Subject: [PATCH] export Layer, MapEvents, LayoutSpecification, PaintSpecification from the ESM entry --- src/index.esm.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/index.esm.ts b/src/index.esm.ts index 6fdb7b27933..07d07c9eb92 100644 --- a/src/index.esm.ts +++ b/src/index.esm.ts @@ -59,6 +59,7 @@ export type { MapEventType, MapEventOf, MapEvent, + MapEvents, } from './ui/events'; // Style specification types — used with addLayer(), addSource(), setStyle(), etc. @@ -149,6 +150,9 @@ export type { ClipLayerSpecification, ClipLayout, LayerSpecification, + Layer, + LayoutSpecification, + PaintSpecification, } from './style-spec/types'; // Named value exports — classes, functions, constants