Skip to content

Commit 719088c

Browse files
author
Ludo Renzetti
committed
chore: export typescript type definitions
1 parent 5214a13 commit 719088c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"typescript": "^5.0.4"
3838
},
3939
"scripts": {
40-
"build": "tsup ./src/index.ts --format esm,cjs --out-dir lib",
40+
"build": "tsup ./src/index.ts --format esm,cjs --out-dir lib --dts",
4141
"compile": "tsc",
4242
"coverage": "npm run test -- --coverage",
4343
"prepublishOnly": "npm run coverage",
@@ -49,6 +49,7 @@
4949
"require": "./lib/index.cjs"
5050
}
5151
},
52+
"types": "./lib/index.d.ts",
5253
"main": "./lib/index.js",
5354
"license": "MIT",
5455
"type": "module"

0 commit comments

Comments
 (0)