Open eric2788 opened 9 months ago
For some reason I can't even stop TS complaining even with adding the constructor
The current library is highly outdated, with some luck there will be a new one with API v4
I will be looking forward to it. I currently made my own simple wrapper for it on npmjs.org but an original from the API owner is always better 😄 ❤️
I will be looking forward to it. I currently made my own simple wrapper for it on npmjs.org but an original from the API owner is always better 😄 ❤️
I am using swagger-codegen
I am using swagger-codegen
it looks like it doesn't support TypeScript though :( or am I wrong?
I am using swagger-codegen
it looks like it doesn't support TypeScript though :( or am I wrong?
nah I was using typescript-fetch before:
I saw index.js has it but the declare module didn't.
adding
constructor(token?: string);
inside the export default class will fix the issueusing 2.3.1-stable.0