Skip to content

Commit

Permalink
ci(lint): auto-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 20, 2024
1 parent d6faebb commit 1cbf715
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/language-service/lib/plugins/vue-inlayhints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ export function create(ts: typeof import('typescript')): LanguageServicePlugin {

if (enabled) {
for (const [prop, isShorthand] of findDestructuredProps(
ts,
virtualCode._sfc.scriptSetup.ast,
scriptSetupRanges.defineProps.destructured
)) {
ts,
virtualCode._sfc.scriptSetup.ast,
scriptSetupRanges.defineProps.destructured
)) {
const name = prop.text;
const end = prop.getEnd();
const pos = isShorthand ? end : end - name.length;
Expand Down

0 comments on commit 1cbf715

Please sign in to comment.