Skip to content

Commit b032513

Browse files
authored
fix: fix TS typings as they are now exported as named exports (#47)
* Update index.d.ts * Update index.d.ts
1 parent bdcb1f9 commit b032513

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export type ErrorBoundaryProps =
2020
| ErrorBoundaryPropsWithComponent
2121
| ErrorBoundaryPropsWithRender
2222

23-
export default class ErrorBoundary extends React.Component<
23+
export class ErrorBoundary extends React.Component<
2424
ErrorBoundaryProps
2525
> {}
2626

0 commit comments

Comments
 (0)