Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
so1ve committed Sep 9, 2023
1 parent b05dae6 commit fe23f27
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export function parseScriptSetupRanges(
const bindings = parseBindingRanges(ts, ast, false);
const text = ast.getFullText();
const leadingCommentEndOffset = ts.getLeadingCommentRanges(text, 0)?.reverse()[0].end ?? 0;
const macrosToBeImported = defaultMacros;
const macrosToBeImported = vueCompilerOptions.macros;

ast.forEachChild(node => {
const isTypeExport = (ts.isTypeAliasDeclaration(node) || ts.isInterfaceDeclaration(node)) && node.modifiers?.some(mod => mod.kind === ts.SyntaxKind.ExportKeyword);
Expand Down

0 comments on commit fe23f27

Please sign in to comment.