Skip to content

Commit 61677cf

Browse files
committed
fix: update the type of a customError property
1 parent 5a28cd7 commit 61677cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/error.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ export class ValidationError extends Error {
320320
/**
321321
* Custom error if provided
322322
*/
323-
customError?: string
323+
customError?: unknown
324324

325325
constructor(
326326
public type: string,

0 commit comments

Comments
 (0)