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

Commit f7ede61

Browse files
blueloversvmx
authored andcommitted
feat: support type predicates
1 parent 9760cd4 commit f7ede61

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
@@ -110,7 +110,7 @@ declare class CID {
110110
*/
111111
static validateCID(other: any): void;
112112

113-
static isCID(mixed: any): boolean;
113+
static isCID(mixed: any): mixed is CID;
114114

115115
static codecs: Record<string, number>;
116116
}

0 commit comments

Comments
 (0)