add type definition

fixes #138
This commit is contained in:
BilligsterUser
2023-02-27 23:40:16 +01:00
committed by fiatjaf_
parent bcefaa0757
commit 673f4abab8
3 changed files with 7 additions and 1 deletions

View File

@@ -6,6 +6,8 @@
"type": "git",
"url": "https://github.com/nbd-wtf/nostr-tools.git"
},
"files": ["./lib/**/*"],
"types": "./lib/index.d.ts",
"main": "lib/nostr.cjs.js",
"module": "lib/esm/nostr.mjs",
"exports": {