[TS] Explicitly include `index.d.mts` (and `.mjs`) in package
authorMatt Corallo <git@bluematt.me>
Thu, 30 Jun 2022 19:59:20 +0000 (19:59 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 30 Jun 2022 20:44:20 +0000 (20:44 +0000)
As apparently npm doesn't include it just because its listed in
`types`.

ts/package.json

index 907a0d4e405a126469ec431f67f9c6d9146b0a56..28cde247262ca9c2079001630ffc160b55e32c02 100644 (file)
@@ -15,6 +15,8 @@
     "enums/*.d.mts",
     "bindings.mjs",
     "bindings.d.mts",
+    "index.mjs",
+    "index.d.mts",
     "version.mjs",
     "liblightningjs.wasm",
     "tsconfig.json",