Skip to content

Commit

Permalink
fix: script setup first variable jsdoc missing
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsoncodehk committed Nov 29, 2022
1 parent 6d22b7f commit 04863b0
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -32,7 +32,7 @@ export function parseScriptSetupRanges(ts: typeof import('typescript/lib/tsserve
// fix https://github.com/johnsoncodehk/volar/issues/1223
&& !ts.isImportEqualsDeclaration(node)
) {
importSectionEndOffset = node.getStart(ast);
importSectionEndOffset = node.getFullStart();
foundNonImportExportNode = true;
}
else if (isTypeExport && foundNonImportExportNode) {
Expand Down

0 comments on commit 04863b0

Please sign in to comment.