Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
fix: ts declaration export (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
vasco-santos authored Sep 3, 2021
1 parent 88a2551 commit d165fe5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"types": "dist/src/index.d.ts",
"devDependencies": {
"@types/debug": "^4.1.5",
"aegir": "^33.2.0",
"aegir": "^35.0.3",
"it-pipe": "^1.1.0",
"libp2p-interfaces": "^1.0.0",
"libp2p-interfaces-compliance-tests": "^1.0.0",
Expand Down
4 changes: 3 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,6 @@ class TCP {
}
}

module.exports = withIs(TCP, { className: 'TCP', symbolName: '@libp2p/js-libp2p-tcp/tcp' })
const TCPWithIs = withIs(TCP, { className: 'TCP', symbolName: '@libp2p/js-libp2p-tcp/tcp' })

exports = module.exports = TCPWithIs

0 comments on commit d165fe5

Please sign in to comment.