Skip to content

Commit e94a4f3

Browse files
committed
fix/types: make cause actually optional in DataWithOptionalCause
1 parent df1102a commit e94a4f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export type DataWithOptionalCause =
2424
// an object with an index signature must be assignable to the index
2525
// signature's type. So we have to use `Json | unknown` instead.
2626
[key: string]: Json | unknown;
27-
cause: unknown;
27+
cause?: unknown;
2828
};
2929

3030
/**

0 commit comments

Comments
 (0)