Skip to content

Commit

Permalink
fixes isErr with Result type
Browse files Browse the repository at this point in the history
  • Loading branch information
ybabts committed Jun 17, 2023
1 parent ec18a4e commit a08c997
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

export type Result<
T,
E extends Error | CustomError = Error | CustomError,
E extends Error | CustomError = CustomError,
> = T | E;

export type CustomError<
Expand Down

0 comments on commit a08c997

Please sign in to comment.