last one
This commit is contained in:
parent
c183018fb1
commit
f05d462a73
|
@ -186,9 +186,9 @@ function wrapWebpackComponent<T extends object = any>(
|
||||||
|
|
||||||
WrapperComponent[SYM_LAZY_COMPONENT_INNER] = () => InnerComponent;
|
WrapperComponent[SYM_LAZY_COMPONENT_INNER] = () => InnerComponent;
|
||||||
|
|
||||||
function setInnerComponent(rawComponent: any, parsedComponent: LazyComponentType<T>) {
|
function setInnerComponent(RawComponent: any, ParsedComponent: LazyComponentType<T>) {
|
||||||
InnerComponent = parsedComponent;
|
InnerComponent = ParsedComponent;
|
||||||
Object.assign(WrapperComponent, rawComponent);
|
Object.assign(WrapperComponent, RawComponent);
|
||||||
}
|
}
|
||||||
|
|
||||||
return [WrapperComponent, setInnerComponent];
|
return [WrapperComponent, setInnerComponent];
|
||||||
|
|
Loading…
Reference in a new issue