You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parcel component config prop seems to be not assignable with the result of system.import.
I'm updating to the latest versions provided by create-single-spa and suddenly found this error.
I'm not sure it's a bug, I haven't been able to find enough documentation for this particular case.
TS2769: Nooverloadmatchesthiscall.Overload1of2,'(props: ParcelCompProps<CustomProps> | Readonly<ParcelCompProps<CustomProps>>): Parcel<CustomProps>',gavethefollowingerror.Type'() => Promise<System.Module>'isnotassignabletotype'ParcelConfig<CustomProps>'.Type'() => Promise<System.Module>'isnotassignabletotype'() => Promise<ParcelConfigObject<CustomProps>>'.Type 'Promise<Module>' is not assignable to type 'Promise<ParcelConfigObject<CustomProps>>'.Type 'Module' is not assignable to type 'ParcelConfigObject<CustomProps>'.Type 'Module' is missing the following properties from type 'LifeCycles<CustomProps>': bootstrap, mount, unmount
Overload2of2,'(props: ParcelCompProps<CustomProps>, context: any): Parcel<CustomProps>',gavethefollowingerror.Type'() => Promise<System.Module>'isnotassignabletotype'ParcelConfig<CustomProps>'.17|<Parcel18|mountParcel={context ? context.mountParcel : null}> 19 | config={()=>System.import(props.mfeName)}
The text was updated successfully, but these errors were encountered:
Parcel component config prop seems to be not assignable with the result of system.import.
I'm updating to the latest versions provided by create-single-spa and suddenly found this error.
I'm not sure it's a bug, I haven't been able to find enough documentation for this particular case.
The text was updated successfully, but these errors were encountered: