We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4c3ce1d + 85139ab commit d6ee9d2Copy full SHA for d6ee9d2
index.d.ts
@@ -73,7 +73,7 @@ declare module 'react-universal-component' {
73
* It can be a string corresponding to the export key, or a function that's
74
* passed the entire module and returns the export that will become the component.
75
*/
76
- key: string | ((module: Export) => ComponentType<P>);
+ key: keyof Export | ((module: Export) => ComponentType<P>);
77
78
/**
79
* Allows you to specify a maximum amount of time before the error component
0 commit comments