Skip to content
This repository was archived by the owner on Sep 5, 2020. It is now read-only.
This repository was archived by the owner on Sep 5, 2020. It is now read-only.

TypeScript errors building latest master #53

@adrianhopebailie

Description

@adrianhopebailie

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions