Extending interfaces with RPCTarget and issues with Promise<any> #85
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Okei, found the issue with Promise<any>: in tsconfig.json the target-compiler-option had to be "EsNext", which was "Es2022" before. |
Beta Was this translation helpful? Give feedback.
-
|
Concrete classes (declared with However, interfaces (declared with |
Beta Was this translation helpful? Give feedback.

Okei, found the issue with Promise<any>: in tsconfig.json the target-compiler-option had to be "EsNext", which was "Es2022" before.
Still i am wondering if i have to extend the interfaces with "RPCTarget" or not.