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

fix: types in shim files #1377

Merged
merged 3 commits into from
Mar 6, 2024

Conversation

KermanX
Copy link
Member

@KermanX KermanX commented Mar 6, 2024

For some unknown reason, some imports inside the declare module block are neither an error nor have any effect.

(As mentioned in https://discord.com/channels/851817370623410197/855378319515582474/1214524756217434166)

This PR fixes this by using dynamic imports instead.

This PR also completes ComponentCustomProperties.

However, though shim-vue.d.ts looks OK now, I am still wondering how this file takes effect on the user side -- there seems to be nowhere importing this file.

@antfu antfu merged commit f32cc16 into slidevjs:main Mar 6, 2024
20 checks passed
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.

2 participants