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

Improve export for IntelliSense #56

Merged
merged 2 commits into from
Nov 1, 2019
Merged

Conversation

cryptiklemur
Copy link
Contributor

This is an odd change, but without this, the IntelliSense doesn't know that useSWR is the export from this package (it tries to import from swr/dist/use-swr instead),

Functionally, this only adds a new export to the package: useSWR

This is an odd change, but without this, the IntelliSense doesn't know that `useSWR` is the export from this package (it tries to import from `swr/dist/use-swr` instead),

Functionally, this only adds a new export to the package: `useSWR`
Copy link
Member

@shuding shuding left a comment

Choose a reason for hiding this comment

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

CI failed :)

src/index.ts Outdated Show resolved Hide resolved
Co-Authored-By: Shu Ding <ds303077135@gmail.com>
@shuding
Copy link
Member

shuding commented Nov 1, 2019

Thanks!

@shuding shuding merged commit 9b51b7d into vercel:master Nov 1, 2019
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