Skip to content
This repository was archived by the owner on Sep 3, 2021. It is now read-only.

Commit 5aff196

Browse files
carsonfarmerAlan Shaw
authored andcommitted
fix: update toString to include optional base
Co-Authored-By: Alan Shaw <[email protected]>
1 parent 4eb0c60 commit 5aff196

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ declare class CID {
8383
/**
8484
* Encode the CID into a string.
8585
*/
86-
toString(): string
86+
toString(base?: string): string
8787

8888
/**
8989
* Serialize to a plain object.

0 commit comments

Comments
 (0)