mirror of https://github.com/vuejs/core.git
fix(compiler-sfc): treat the return value of `useTemplateRef` as a definite ref (#13197)
This commit is contained in:
parent
32bc647fab
commit
8ae11226e8
|
@ -1104,6 +1104,7 @@ function walkDeclaration(
|
|||
m === userImportAliases['shallowRef'] ||
|
||||
m === userImportAliases['customRef'] ||
|
||||
m === userImportAliases['toRef'] ||
|
||||
m === userImportAliases['useTemplateRef'] ||
|
||||
m === DEFINE_MODEL,
|
||||
)
|
||||
) {
|
||||
|
|
Loading…
Reference in New Issue