babel-plugin-universal-import
babel-plugin-universal-import copied to clipboard
Typescript and non-Babel environments example out of sync with TypeScript definitions
The universal
options in the example (chunkName
and resolve
) don't exist in the current react-universal-component declaration file. Interestingly, the Flow types contain the properties, though.
Can this example be updated with the appropriate options that should be passed when used in a TypeScript project or can the TypeScript definitions for react-universal-component be updated to reflect the valid options?
/cc @forabi @Alex-Krautmann
Any update?
@corydeppen we had some TS defs updated. Does this solve your issue / would you be able to PR it?
I dont know much TS
I believe it's resolved by https://github.com/faceyspacey/react-universal-component/pull/99 and this issue can be closed.