Skip to content

Commit

Permalink
refactor(compiler-sfc): avoid unnecessary switch case fallthrough (#8998
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Alfred-Skyblue authored Dec 11, 2023
1 parent bc5799d commit 9d1ca32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/compiler-sfc/src/script/resolveType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1453,6 +1453,7 @@ export function inferRuntimeType(
scope
)
}
break
case 'TSMethodSignature':
case 'TSFunctionType':
return ['Function']
Expand Down

0 comments on commit 9d1ca32

Please sign in to comment.