refactor(compiler-sfc): avoid unnecessary switch case fallthrough (#8998)

This commit is contained in:
丶远方 2023-12-11 18:23:02 +08:00 committed by GitHub
parent bc5799d4c0
commit 9d1ca320c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

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