diff --git a/src/webpack/api.tsx b/src/webpack/api.tsx index 8fccd0e1d..ef74eb285 100644 --- a/src/webpack/api.tsx +++ b/src/webpack/api.tsx @@ -186,9 +186,9 @@ function wrapWebpackComponent( WrapperComponent[SYM_LAZY_COMPONENT_INNER] = () => InnerComponent; - function setInnerComponent(rawComponent: any, parsedComponent: LazyComponentType) { - InnerComponent = parsedComponent; - Object.assign(WrapperComponent, rawComponent); + function setInnerComponent(RawComponent: any, ParsedComponent: LazyComponentType) { + InnerComponent = ParsedComponent; + Object.assign(WrapperComponent, RawComponent); } return [WrapperComponent, setInnerComponent];