Skip to content

chore: add declare module "*.vue" to "env.d.ts" #34

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

Closed
wants to merge 1 commit into from
Closed

chore: add declare module "*.vue" to "env.d.ts" #34

wants to merge 1 commit into from

Conversation

yaegassy
Copy link

Added declare module "*.vue" as in create-vite/template-vue-ts in vite. https://github.com/vitejs/vite/blob/main/packages/create-vite/template-vue-ts/src/env.d.ts

If there are any problems, please close this PR. 🙇

@yaegassy
Copy link
Author

I checked this. #26

I will close my PR.


Supplement:

I am using the plugin for volar from Vim. The TypeScript Vue Plugin (Volar) is not available outside of VSCode.

Also, unfortunately, I think there are some IDE/Editor plugins that do not support volar's Take OverMode.

Fortunately, the volar plugin for Vim that I use supports Take Over Mode.

@yaegassy yaegassy closed this Jan 21, 2022
@yaegassy yaegassy deleted the chore/ts-declare-module-vue branch January 21, 2022 06:47
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.

1 participant