lwc
lwc copied to clipboard
Investigate invalid types generated in `@lwc/shared/language.ts`
Description
Some of our down-stream consumers fail to build because of invalid typescript files generated in @lwc/shared/language.ts
.
Example - (ui-interaction-orchestrator-components) https://nucleus.uipengsys-public.buildndeliver-s.aws-esvc1-useast2.aws.sfdc.cl/workflows/214632#job=965046&step=node-build
We should take a look at the types to see what's causing this issue.
Seeing a lot of these:
src/lwc/interaction_orchestrator/workGuide/workGuide.ts(50,11): error TS2345: Argument of type '(_parameters: Record<string, string>) => Promise<WireResponse>' is not assignable to parameter of type 'WireAdapterConstructor<Record<string, string>, Promise<WireResponse>, StringKeyedRecord> | LegacyWireAdapterConstructor<...>'.