during building the app i hade recieved this error.
node_modules/@zoomus/websdk/index.d.ts:67:32 - error TS2314: Generic type ‘Promise’ requires 1 type argument(s).
67 function load(lang: string): Promise;
node_modules/@zoomus/websdk/index.d.ts:73:54 - error TS2314: Generic type 'Promise<T>' requires 1 type argument(s).
73 function load(url: string | object, lang: string): Promise;
what i can do ?
I was on v2.0.1 and I wanted to try the new one (2.2.0) …I have the same problem too (we use Angular 10)
@gabriele.guidi & @eskills.firebase.
Thank you for posting in the Developer Forum. I’ve encountered this error in the past and was able to get the Angular SDK to compile by adding a specific type to the promise (i.e. Promise or
Promise ). The Promise function can be found in the node_modules folder as well: node_modules/@zoomus/websdk/index.d.ts:67:32
You may also find this thread helpful as well:
If it contains no data and is being used purely for the resolve/reject functionality, use:
Please let me know if this helps.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.