export node types

This commit is contained in:
cohenerickson 2024-07-02 15:32:59 -05:00
parent 31bae262e1
commit e88a7a0bdb
2 changed files with 8 additions and 2 deletions

3
lib/index.d.ts vendored Normal file
View file

@ -0,0 +1,3 @@
declare const baremuxPath: string;
export { baremuxPath };

View file

@ -15,7 +15,10 @@
"require": "./dist/bare.cjs",
"types": "./dist/index.d.ts"
},
"./node": "./lib/index.cjs"
"./node": {
"types": "./lib/index.d.ts",
"main": "./lib/index.cjs"
}
},
"files": [
"dist",
@ -33,4 +36,4 @@
"@types/uuid": "^9.0.8",
"uuid": "^9.0.1"
}
}
}