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

how to auto import "SetupContext"? #129

Closed
liugui opened this issue Feb 17, 2022 · 2 comments
Closed

how to auto import "SetupContext"? #129

liugui opened this issue Feb 17, 2022 · 2 comments

Comments

@liugui
Copy link

liugui commented Feb 17, 2022

As we known, "ref"、"reactive" will be auto imported from vue with unplugin-auto-import. However, I can't see "SetupContext" in auto-imports.d.ts. If I add it manually, the typescript errors is show. How to resolve this problem?
image

@sxzz
Copy link
Member

sxzz commented Feb 28, 2022

TS typings will not imported. Related issue: #61

@antfu
Copy link
Member

antfu commented May 24, 2022

Duplicate of #61

@antfu antfu marked this as a duplicate of #61 May 24, 2022
@antfu antfu closed this as not planned Won't fix, can't repro, duplicate, stale May 24, 2022
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

No branches or pull requests

3 participants