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

Commit d165fe5

Browse files
authored
fix: ts declaration export (#150)
1 parent 88a2551 commit d165fe5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"types": "dist/src/index.d.ts",
4242
"devDependencies": {
4343
"@types/debug": "^4.1.5",
44-
"aegir": "^33.2.0",
44+
"aegir": "^35.0.3",
4545
"it-pipe": "^1.1.0",
4646
"libp2p-interfaces": "^1.0.0",
4747
"libp2p-interfaces-compliance-tests": "^1.0.0",

src/index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -151,4 +151,6 @@ class TCP {
151151
}
152152
}
153153

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

0 commit comments

Comments
 (0)