Getting typescript compile error on ring-client-api api.ts #1401
-
I'm still a novice with Typescript. I did a gitclone of this project, made no changes to the package files, and encountering this compile error with ring-client-api/api.ts Do I need to adjust my VS Code environment? ring/packages/ring-client-api/api.ts:89:17 - error TS2347: Untyped function calls may not accept type arguments. 89 } = await this.restClient.request<{ This is how I ran the compile: tsc -t es5 tryit.ts |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
What exactly is tryit.ts? In general you do not need to compile this project to use it in another project since you should simply including the npm package as a dependency instead. What happens if you attempt to compile only this project, i.e. switch to ring-client-api and just run tsc with no additional arguments? |
Beta Was this translation helpful? Give feedback.
What exactly is tryit.ts? In general you do not need to compile this project to use it in another project since you should simply including the npm package as a dependency instead.
What happens if you attempt to compile only this project, i.e. switch to ring-client-api and just run tsc with no additional arguments?