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
<script setup lang="ts"> import Vue from 'vue'; console.log(Vue); </script> <script lang="ts"> /** JSDoc for component */ export default {}; </script>
The generated virtual file is:
/** JSDoc for component */ import Vue from 'vue'; export default await (async () => { console.log(Vue); // @ts-ignore return (await import('vue')).defineComponent({ ...({}), setup() { () => { }; return { }; }, }); })();
JSDoc for export default move into wrong place
The text was updated successfully, but these errors were encountered:
cc5e752
I'm not sure why this was closed, but it doesn't seem to work.
Tested with: Volar 1.0.9 Typescript 4.8.4
Default setup as shown in Getting Started
Sorry, something went wrong.
fix: script setup first variable jsdoc missing
04863b0
#1327 (comment)
@kamenkolev-shared this is a different issue and fixed by 04863b0
No branches or pull requests
The generated virtual file is:
JSDoc for export default move into wrong place
The text was updated successfully, but these errors were encountered: