From 64ca93b2d5d89027fbb9ace0197c8ed12d25b1e7 Mon Sep 17 00:00:00 2001 From: Norris <635165@bah.com> Date: Thu, 16 Oct 2025 14:42:50 -0400 Subject: [PATCH] Added typings to exports appropriately --- package.json | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index f12c5fd31..e9115c4a7 100644 --- a/package.json +++ b/package.json @@ -34,10 +34,18 @@ "type": "module", "main": "./lib/olcs.js", "exports": { - ".": "./lib/olcs.js", - "./src/*": "./lib/olcs/*.js", - "./ts/*": "./lib/olcs/*.ts", - "./*": "./lib/olcs/*.js" + ".": { + "types": "./lib/types/olcs.d.ts", + "default": "./lib/olcs.js" + }, + "./src/*": { + "types": "./lib/types/*.d.ts", + "default": "./lib/olcs/*.js" + }, + "./*": { + "types": "./lib/types/*.d.ts", + "default": "./lib/olcs/*.js" + } }, "parcelIgnore": [ "dist/examples/rawjs/*"