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: static imports #1289

Merged
merged 1 commit into from
Feb 2, 2022
Merged

fix: static imports #1289

merged 1 commit into from
Feb 2, 2022

Conversation

cexbrayat
Copy link
Member

This should fix the error blocking the upgrade to vue-tsc v0.31.1

tests/components/ScriptSetupWithChildren.vue:10:1 - error TS1232: An import declaration can only be used in a namespace or module.

10 import ScriptSetup from './ScriptSetup.vue'
   ~~~~~~

tests/components/ScriptSetupWithChildren.vue:11:1 - error TS1232: An import declaration can only be used in a namespace or module.

11 import WithProps from './WithProps.vue'
   ~~~~~~

This should fix the error blocking the upgrade to vue-tsc v0.31.1

```
tests/components/ScriptSetupWithChildren.vue:10:1 - error TS1232: An import declaration can only be used in a namespace or module.

10 import ScriptSetup from './ScriptSetup.vue'
   ~~~~~~

tests/components/ScriptSetupWithChildren.vue:11:1 - error TS1232: An import declaration can only be used in a namespace or module.

11 import WithProps from './WithProps.vue'
   ~~~~~~
```
@netlify
Copy link

netlify bot commented Feb 2, 2022

✔️ Deploy Preview for vue-test-utils-next-docs ready!

🔨 Explore the source changes: 2bfb9dc

🔍 Inspect the deploy log: https://app.netlify.com/sites/vue-test-utils-next-docs/deploys/61fa693c6f97b700079478f6

😎 Browse the preview: https://deploy-preview-1289--vue-test-utils-next-docs.netlify.app

@cexbrayat cexbrayat merged commit 54359e5 into vuejs:main Feb 2, 2022
@cexbrayat cexbrayat deleted the fix/imports branch February 2, 2022 11:25
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