Skip to content

Commit

Permalink
Add a types entry for TypeScript.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrizagidulin committed Dec 29, 2023
1 parent 50b659f commit 7b5c3f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"require": "./dist/cjs/index.cjs",
"import": "./lib/index.js"
},
"types": "types/index.d.ts",
"browser": {
"./lib/agentCompatibility.js": "./lib/agentCompatibility-browser.js",
"./tests/utils.cjs": "./tests/utils-browser.cjs"
Expand Down
1 change: 1 addition & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare module '@digitalbazaar/http-client';

0 comments on commit 7b5c3f5

Please sign in to comment.