Skip to content

Commit

Permalink
style: apply lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] committed Apr 25, 2024
1 parent 1fb5a74 commit 365002a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/utils/vue-dts.ts
Expand Up @@ -89,9 +89,9 @@ async function emitVueTscV1(
host: tsHost,
});

const result = program.emit()
const result = program.emit();
if (result.diagnostics?.length) {
console.error(ts.formatDiagnostics(result.diagnostics, tsHost))
console.error(ts.formatDiagnostics(result.diagnostics, tsHost));
}
} finally {
ts.sys.writeFile = _tsSysWriteFile;
Expand Down Expand Up @@ -160,8 +160,8 @@ async function emitVueTscV2(
);

const program = createProgram(programOptions);
const result = program.emit()
const result = program.emit();
if (result.diagnostics?.length) {
console.error(ts.formatDiagnostics(result.diagnostics, tsHost))
console.error(ts.formatDiagnostics(result.diagnostics, tsHost));
}
}

0 comments on commit 365002a

Please sign in to comment.