Skip to content

Commit

Permalink
chore: fix type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Dec 13, 2022
1 parent a0e21c1 commit a9b3187
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ export function createError(
return input;
}

// @ts-ignore
const err = new H3Error(
input.message ?? input.statusMessage,
// @ts-ignore
input.cause ? { cause: input.cause } : undefined
);

Expand Down

0 comments on commit a9b3187

Please sign in to comment.