mirror of https://github.com/vuejs/core.git
types(compiler-sfc): add explicit return type to genModelProps (#13441)
This commit is contained in:
parent
952886e299
commit
0f916d8c39
|
|
@ -114,7 +114,7 @@ export function processDefineModel(
|
|||
return true
|
||||
}
|
||||
|
||||
export function genModelProps(ctx: ScriptCompileContext) {
|
||||
export function genModelProps(ctx: ScriptCompileContext): string | undefined {
|
||||
if (!ctx.hasDefineModelCall) return
|
||||
|
||||
const isProd = !!ctx.options.isProd
|
||||
|
|
|
|||
Loading…
Reference in New Issue