Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jmsjtu opened this issue Mar 27, 2024 · 1 comment
Open

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

jmsjtu opened this issue Mar 27, 2024 · 1 comment
Labels
bug typescript Typescript related bugs

Comments

@jmsjtu
Copy link
Member

jmsjtu commented Mar 27, 2024

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
Copy link
Member Author

jmsjtu commented Mar 27, 2024

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

@nolanlawson nolanlawson added bug typescript Typescript related bugs labels Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug typescript Typescript related bugs
Projects
None yet
Development

No branches or pull requests

2 participants