Skip to content

Commit 62f05a2

Browse files
committed
types(compiler-sfc): add explicit return type to genModelProps
1 parent a47832e commit 62f05a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/compiler-sfc/src/script/defineModel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export function processDefineModel(
114114
return true
115115
}
116116

117-
export function genModelProps(ctx: ScriptCompileContext) {
117+
export function genModelProps(ctx: ScriptCompileContext): string | undefined {
118118
if (!ctx.hasDefineModelCall) return
119119

120120
const isProd = !!ctx.options.isProd

0 commit comments

Comments
 (0)