diff --git a/types/react-loadable/index.d.ts b/types/react-loadable/index.d.ts index cd10924682..424372a068 100644 --- a/types/react-loadable/index.d.ts +++ b/types/react-loadable/index.d.ts @@ -44,7 +44,7 @@ export interface OptionsWithoutRender extends CommonOptions { * * Resulting React component receives all the props passed to the generated component. */ - loader(): Promise | { [key: string]: React.ComponentType }>; + loader(): Promise | { default: React.ComponentType }>; } export interface OptionsWithRender extends CommonOptions {