Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TS Lint failure with Axios 0.19 #379

Closed
H3llK33p3r opened this issue Jun 27, 2019 · 2 comments
Closed

TS Lint failure with Axios 0.19 #379

H3llK33p3r opened this issue Jun 27, 2019 · 2 comments

Comments

@H3llK33p3r
Copy link

Hi, the axios library has changed the AxiosRequestConfig interface from

export interface AxiosRequestConfig {
  url?: string;
  method?: string;

to

export interface AxiosRequestConfig {
  url?: string;
  method?: Method;

So client generation do generate an error when using tslint with axios 0.19.* :
image

BR.

@vojtechhabarta
Copy link
Owner

Hi, I committed change which casts string parameter to correct type. I also upgraded axios version in generated package.json to 0.19.0.

@vojtechhabarta
Copy link
Owner

Released in v2.16.538.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants