From b032513ed8cb615184ca8eb3ca5602f600c7df92 Mon Sep 17 00:00:00 2001 From: wei Date: Thu, 30 Apr 2020 16:54:35 -0700 Subject: [PATCH] fix: fix TS typings as they are now exported as named exports (#47) * Update index.d.ts * Update index.d.ts --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index b00447e..8fdc744 100644 --- a/index.d.ts +++ b/index.d.ts @@ -20,7 +20,7 @@ export type ErrorBoundaryProps = | ErrorBoundaryPropsWithComponent | ErrorBoundaryPropsWithRender -export default class ErrorBoundary extends React.Component< +export class ErrorBoundary extends React.Component< ErrorBoundaryProps > {}