build: add types field to package.json
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 2 Jan 2024 17:07:48 +0000 (18:07 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 2 Jan 2024 17:07:48 +0000 (18:07 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
package.json

index 21b2d252b73fc55e540b1e4c1633b09da016c92c..a600498a4d487d24247fa0017eeb61336da368f5 100644 (file)
@@ -13,6 +13,7 @@
       "import": "./lib/index.mjs"
     }
   },
+  "types": "./lib/index.d.ts",
   "scripts": {
     "preinstall": "npx --yes only-allow pnpm",
     "prepare": "node prepare.mjs",