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

Align auto-import with README examples #3017

Closed
donaldpipowitch opened this issue Jun 12, 2020 · 0 comments · Fixed by #2872 or #2797
Closed

Align auto-import with README examples #3017

donaldpipowitch opened this issue Jun 12, 2020 · 0 comments · Fixed by #2872 or #2797
Assignees
Projects
Milestone

Comments

@donaldpipowitch
Copy link

donaldpipowitch commented Jun 12, 2020

Is your feature request related to a problem? Please describe.
When you copy'n'paste examples from the README into you code, you can't easily auto-import (e.g. in VS Code) the Axios lib.

Describe the solution you'd like
I'll rename the default export in the index.d.ts so it alignes with the official documentation.

Change this:
image

image

To this:
image

image

Describe alternatives you've considered
Change all the official examples to use Axios instead of axios ;)

Additional context
Nothing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
3 participants