Parameter 'args' implicitly has an 'any[]' type version @zoomus/websdk@1.9.0

Description
I intergrated webSDK with Angular 11. After I config ZoomMtg then my project was error below

Error
function setSupportLanguage(langArray): Array;


I found it was problem same my issuse in 1.8.3 but. i updated in 1.9.0 . but it’s not fix .
please help me check it . thank you so much

@ tommy

Hey @lovenco0410 ,

On line 7 you are supplying an outdated version, 1.7.10. Please try updating to at least 1.8.5.

Thanks,
Tommy

Thanks so much , It’s OK .

Thanks,
LamNV

Hey @tommy
I fixed it . but when i deloy it in heroku the build was fail. The log was show

. I think it bug in your package.

in my local it fix it same the image blow and it OK .

.
Can you help me how to fix it. I’m using version 1.9.0

Thank you so much

Thanks
LamNV

Hey @lovenco0410 ,

We will investigate this issue and fix it. (CS-3139)

In the meantime, can you define the LangArray to type any and not string?

Thanks,
Tommy

Hi @tommy,
In the meantime, can you define the LangArray to type any and not string?
=> I think it’s okay with any type.
We will investigate this issue and fix it. (CS-3139)
=> If there are new announcements about this issue. Can you contact me again

Thanks,
lovenco0410

could you try modify index.d.ts function setSupportLanguage(langArray: Array);

1 Like

@JackYang


It’s show

“typescript”: “^4.0.5”

Thanks,
lovenco0410

1 Like

HI @JackYang.
Where is the return type.? :thinking: :thinking: :thinking: :thinking: :thinking:

Im using type script and angular 11

Hey @lovenco0410 ,

We are working on a solution to this issue. :slight_smile: Stay tuned!

Thanks,
Tommy

Hey @lovenco0410 ,

This issue should be fixed in version 1.9.1. Can you please upgrade? :slight_smile:

Thanks,
Tommy

1 Like

@Tommy,
Currently, It Okay in my local,
If something goes wrong, I will contact you,
Thanks you very much and have a nice day

Thanks,
@lovenco0410

1 Like

Happy to help! :slight_smile:

Please reach out if you need help with anything else!

Thanks,
Tommy

Still I am facing the same issue using the latest @zoomus/websdk 1.9.1 but having the same error.

Error Screen

sorry, typescript has restrict type check, could you try modify index.d.ts

function setSupportLanguage(langArray: Array< string >): void;
or function setSupportLanguage(langArray: Array< string >): any;

@tommy @JackYang this temp fix solves issue only in local env and if we have to use any automated build pipeline it wont work.

Hey @Dhruv_Chopra ,

Are you able to add this modification into your build pipeline in the meantime? CC @JackYang

Thanks,
Tommy

No. Not yet geving the same error