# Angular SDK Compile Error

**URL:** <https://devforum.zoom.us/t/angular-sdk-compile-error/65074>\
**Category:** Web\
**Created:** [March 2, 2022, 2:08am UTC](https://devforum.zoom.us/t/angular-sdk-compile-error/65074 "2022-03-02T02:08:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![eskills.firebase](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/eskills.firebase/32/35550_2.png) [@eskills.firebase](https://devforum.zoom.us/u/eskills.firebase)\
**Post date:** [March 2, 2022, 2:08am UTC](https://devforum.zoom.us/t/angular-sdk-compile-error/65074/1 "2022-03-02T02:08:14Z")

</div>

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;

```auto
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 ?
```

---

<div class="post-metadata">

**Author:** ![gabriele.guidi](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gabriele.guidi/32/33321_2.png) [@gabriele.guidi](https://devforum.zoom.us/u/gabriele.guidi)\
**Post date:** [March 3, 2022, 2:28pm UTC](https://devforum.zoom.us/t/angular-sdk-compile-error/65074/2 "2022-03-03T14:28:16Z")

</div>

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)

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [March 4, 2022, 11:06pm UTC](https://devforum.zoom.us/t/angular-sdk-compile-error/65074/3 "2022-03-04T23:06:52Z")

</div>

@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:](https://stackoverflow.com/questions/39781618/error-ts2314-generic-type-promiset-requires-1-type-arguments)

Please let me know if this helps.

Best,  
Donte

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [April 4, 2022, 9:07am UTC](https://devforum.zoom.us/t/angular-sdk-compile-error/65074/4 "2022-04-04T09:07:36Z")

</div>

Closed on April 4, 2022, 9:07am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
