Skip to content

Commit

Permalink
fix: fix TS typings as they are now exported as named exports (#47)
Browse files Browse the repository at this point in the history
* Update index.d.ts

* Update index.d.ts
  • Loading branch information
wuweiweiwu authored Apr 30, 2020
1 parent bdcb1f9 commit b032513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export type ErrorBoundaryProps =
| ErrorBoundaryPropsWithComponent
| ErrorBoundaryPropsWithRender

export default class ErrorBoundary extends React.Component<
export class ErrorBoundary extends React.Component<
ErrorBoundaryProps
> {}

Expand Down

0 comments on commit b032513

Please sign in to comment.