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

Commit

Permalink
feat: support type predicates
Browse files Browse the repository at this point in the history
  • Loading branch information
bluelovers authored and vmx committed May 22, 2020
1 parent 9760cd4 commit f7ede61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ declare class CID {
*/
static validateCID(other: any): void;

static isCID(mixed: any): boolean;
static isCID(mixed: any): mixed is CID;

static codecs: Record<string, number>;
}
Expand Down

0 comments on commit f7ede61

Please sign in to comment.