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

Replace deprecated types with latest types in axios-typescript example #1128

Merged
merged 1 commit into from
Apr 18, 2021

Conversation

eunsukimme
Copy link
Contributor

Problem

My VSCode shows warnings that responseInterface, ConfigInterface are deprecated which are used in axios-typescript example. I noticed that they have @deprecated annotations in type definition file and were described they will be renamed to SWRResponse, SWRConfiguration each other.

Screen Shot 2021-04-18 at 2 00 36 PM

Solution

So I replaced them with latest types(SWRResponse, SWRConfiguration) already existing.

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 7fc594f:

Sandbox Source
SWR-Basic Configuration
SWR-States Configuration
SWR-Infinite Configuration
SWR-SSR Configuration

Copy link
Member

@huozhi huozhi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@huozhi huozhi merged commit 11533ee into vercel:master Apr 18, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants