From 6b4ea94331bdf30e6281c61b2070476ae201eec6 Mon Sep 17 00:00:00 2001 From: Matthew Glissmann Date: Mon, 12 Aug 2024 15:21:45 -0600 Subject: [PATCH] expose types in package.json (#159) --- grommet-leaflet/package.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/grommet-leaflet/package.json b/grommet-leaflet/package.json index e75d827..d2e1207 100644 --- a/grommet-leaflet/package.json +++ b/grommet-leaflet/package.json @@ -9,14 +9,17 @@ ], "main": "./dist/grommet-leaflet.umd.cjs", "module": "./dist/grommet-leaflet.js", - "types": "./dist/index.d.ts", + "types": "./src/index.d.ts", "exports": { ".": { "import": { "default": "./dist/grommet-leaflet.js", - "types": "./dist/index.d.ts" + "types": "./src/index.d.ts" }, - "require": "./dist/grommet-leaflet.umd.cjs" + "require": { + "default": "./dist/grommet-leaflet.umd.cjs", + "types": "./src/index.d.ts" + } } }, "authors": [