lwc icon indicating copy to clipboard operation
lwc copied to clipboard

Investigate invalid types generated in `@lwc/shared/language.ts`

Open jmsjtu opened this issue 5 months ago • 1 comments

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.

jmsjtu avatar Mar 27 '24 22:03 jmsjtu

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<...>'.

jmsjtu avatar Mar 27 '24 22:03 jmsjtu