mirror of https://github.com/vuejs/core.git
fix(compiler-sfc): do not skip `TSSatisfiesExpression` when transforming props destructure (#12062)
close #12061
This commit is contained in:
parent
4b09ab2074
commit
2328b051f4
|
@ -242,6 +242,7 @@ export function transformDestructuredProps(
|
|||
parent.type.startsWith('TS') &&
|
||||
parent.type !== 'TSAsExpression' &&
|
||||
parent.type !== 'TSNonNullExpression' &&
|
||||
parent.type !== 'TSSatisfiesExpression' &&
|
||||
parent.type !== 'TSTypeAssertion'
|
||||
) {
|
||||
return this.skip()
|
||||
|
|
Loading…
Reference in New Issue