Typescript support #1

Closed
opened 2022-05-13 06:10:32 +02:00 by sebasptsch · 2 comments

Add typescript types

Add typescript types
Owner

Adapters are submodules, meant to be used through Axios, but not directly by the developer, so those aren't supposed to contain typings.

However, Axios has TypeScript support.

Let me know if I misunderstood anything.

[Adapters](https://github.com/axios/axios/tree/master/lib/adapters) are submodules, meant to be used through Axios, but not directly by the developer, so those aren't supposed to contain typings. However, [Axios has TypeScript support](https://github.com/axios/axios#typescript). Let me know if I misunderstood anything.
Author

All good. Just had to declare the module in a type file to get typescript to not complain.

All good. Just had to declare the module in a type file to get typescript to not complain.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: KaKi87/axios-tauri-adapter#1
No description provided.