We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
create vue3 project with typescript support, and add files below
<!-- TestUnit.vue --> <script setup lang="ts"> import type { SomeClass2 } from "./SomeClass"; import type SomeClass from "./SomeClass"; const a = (i: any) => console.log(i); </script> <template> <div @hi="(x: SomeClass) => a(x)" @hello="(x: SomeClass2) => a(x)"></div> </template>
// SomeClass.ts export default class SomeClass { public someMethod(): void { console.log("Hello World"); } } export class SomeClass2 { public someMethod(): void { console.log("Hello World"); } }
but only default export class cannot be resolved
The text was updated successfully, but these errors were encountered:
Duplicate of #891
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
create vue3 project with typescript support, and add files below
but only default export class cannot be resolved
The text was updated successfully, but these errors were encountered: