Skip to content

Commit 58b5604

Browse files
committed
fix(types): fix publishing of types
Fixes: #150 I'm presuming this is a temporary fix in tsconfig.json, removing "tests" for now to get back the old behaviour of just publishing src/ -> types/ rather than having both src/ and tests/ both in types/ as subdirectories which breaks types mappings.
1 parent 55e31bd commit 58b5604

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/traversal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { base58btc } from 'multiformats/bases/base58'
1+
import { base58btc } from './bases/base58.js'
22

33
/**
44
* @typedef {import('./cid.js').CID} CID

tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,7 @@
9999
}
100100
},
101101
"include": [
102-
"src",
103-
"test"
102+
"src"
104103
],
105104
"exclude": [
106105
"vendor",

0 commit comments

Comments
 (0)