Skip to content

Commit 581fe1e

Browse files
committed
revert error boundary
1 parent c4e066a commit 581fe1e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/solid/src/errorboundary.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import { mergeProps, splitProps } from 'solid-js';
44
import { createComponent } from 'solid-js/web';
55

66
type ErrorBoundaryProps = {
7-
fallback: JSX.Element | ((err: unknown, reset: () => void) => JSX.Element);
7+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
8+
fallback: JSX.Element | ((err: any, reset: () => void) => JSX.Element);
89
children: JSX.Element;
910
};
1011

0 commit comments

Comments
 (0)