We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 952886e commit 0f916d8Copy full SHA for 0f916d8
packages/compiler-sfc/src/script/defineModel.ts
@@ -114,7 +114,7 @@ export function processDefineModel(
114
return true
115
}
116
117
-export function genModelProps(ctx: ScriptCompileContext) {
+export function genModelProps(ctx: ScriptCompileContext): string | undefined {
118
if (!ctx.hasDefineModelCall) return
119
120
const isProd = !!ctx.options.isProd
0 commit comments