This repository was archived by the owner on Sep 5, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
This repository was archived by the owner on Sep 5, 2020. It is now read-only.
TypeScript errors building latest master #53
Copy link
Copy link
Closed
Description
On commit 7e3603d
Ran npm install --unsafe-perm
Relevant logs:
src/services/HyperClient.ts:36:7 - error TS2345: Argument of type '{ socketPath: string; method: string; url: string; params: { podName: string; }; responseType: st...' is not assignable to parameter of type 'AxiosRequestConfig'.
Object literal may only specify known properties, and 'socketPath' does not exist in type 'AxiosRequestConfig'.
36 socketPath: this.config.hyperSock,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/services/HyperClient.ts:65:7 - error TS2345: Argument of type '{ socketPath: string; method: string; url: string; params: { imageName: string; }; }' is not assignable to parameter of type 'AxiosRequestConfig'.
Object literal may only specify known properties, and 'socketPath' does not exist in type 'AxiosRequestConfig'.
65 socketPath: this.config.hyperSock,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/services/HyperClient.ts:77:7 - error TS2345: Argument of type '{ socketPath: string; method: string; url: string; data: PodSpec; }' is not assignable to parameter of type 'AxiosRequestConfig'.
Object literal may only specify known properties, and 'socketPath' does not exist in type 'AxiosRequestConfig'.
77 socketPath: this.config.hyperSock,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/services/HyperClient.ts:90:7 - error TS2345: Argument of type '{ socketPath: string; method: string; url: string; params: { podId: string; }; }' is not assignable to parameter of type 'AxiosRequestConfig'.
Object literal may only specify known properties, and 'socketPath' does not exist in type 'AxiosRequestConfig'.
90 socketPath: this.config.hyperSock,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/services/HyperClient.ts:109:7 - error TS2345: Argument of type '{ socketPath: string; method: string; url: string; params: { podId: string; }; }' is not assignable to parameter of type 'AxiosRequestConfig'.
Object literal may only specify known properties, and 'socketPath' does not exist in type 'AxiosRequestConfig'.
109 socketPath: this.config.hyperSock,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Metadata
Metadata
Assignees
Labels
No labels