]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
refactor(compiler-sfc): avoid unnecessary switch case fallthrough (#8998)
author丶远方 <yangpanteng@gmail.com>
Mon, 11 Dec 2023 10:23:02 +0000 (18:23 +0800)
committerGitHub <noreply@github.com>
Mon, 11 Dec 2023 10:23:02 +0000 (18:23 +0800)
packages/compiler-sfc/src/script/resolveType.ts

index c5f7681a6aa89d66c251958f041be92684555f0b..c7c1234002a9ce19f2829b27e0a076d915bcfedc 100644 (file)
@@ -1453,6 +1453,7 @@ export function inferRuntimeType(
             scope
           )
         }
+        break
       case 'TSMethodSignature':
       case 'TSFunctionType':
         return ['Function']