We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
satisfies
3.5.10
https://play.vuejs.org/#__PROD__eNp9kk1r3DAQhv/KoEs2YOyGtBfXu7QNKbSHNrSlJ0NQtGOvElkS+nAWFv/3jOTdzSaE3Ox5Z14987FjX60tx4isZk3AwSoecNVqgOa7MVCPXEVctuyiZVBRvKlOkujXCydtAI8hWorIwRoXYAcOuwIeeRCbAoQZbAy4hgk6ZwZoGb3Xss/H9PTSXikr+kk8WW+q2Z+cWcGCF0Z3si/vvdHEu0uYLUv2UqH7bYM02reshqwkjStlHn/mWHARi0NcbFA8vBG/99sUa9mNQ49uJIyjFrjrMczy9d9fuKXvoziYdVSU/Y74B71RMTHOad+iXhP2SV6m/ZFnInX/z19vA2p/aCqBpswp5+chXr3T+jPuZfkx17V6oinu55v2fbo8UFz3tOhALnm1NGufNpkvgFa3hDV2UuONM9Y3+3gNOg536GBaLc6fq7hIPFSSaTY8N1rD4hyWqwNhyjQKS2X6xdn//Ij09VkxG5PZTAyeB+k7iZ5YXjmNRtJRvTgT+nl5xXcxBEL5IpQUD9TfjFbunXKvieYqybmgmite3zpN7nZEl7ZBo7ssP5UXH9j0BFrOFFg=
Have code like this:
<script setup lang="ts"> const { value } = defineProps<{ value: number }>() const action = { handler: () => { console.log('Value is:', value) } } satisfies { handler: () => void } </script> <template> <button @click="action.handler"> Click </button> </template>
Click button. See error.
Value prop should be accessible even when used with satisfies { handler: () => void }
satisfies { handler: () => void }
Errro
n/a
No response
The text was updated successfully, but these errors were encountered:
TSSatisfiesExpression
fix(compiler-sfc): do not skip TSSatisfiesExpression when transform…
2328b05
…ing props destructure (#12062) close #12061
e302c16
…ing props destructure (vuejs#12062) close vuejs#12061
Successfully merging a pull request may close this issue.
Vue version
3.5.10
Link to minimal reproduction
https://play.vuejs.org/#__PROD__eNp9kk1r3DAQhv/KoEs2YOyGtBfXu7QNKbSHNrSlJ0NQtGOvElkS+nAWFv/3jOTdzSaE3Ox5Z14987FjX60tx4isZk3AwSoecNVqgOa7MVCPXEVctuyiZVBRvKlOkujXCydtAI8hWorIwRoXYAcOuwIeeRCbAoQZbAy4hgk6ZwZoGb3Xss/H9PTSXikr+kk8WW+q2Z+cWcGCF0Z3si/vvdHEu0uYLUv2UqH7bYM02reshqwkjStlHn/mWHARi0NcbFA8vBG/99sUa9mNQ49uJIyjFrjrMczy9d9fuKXvoziYdVSU/Y74B71RMTHOad+iXhP2SV6m/ZFnInX/z19vA2p/aCqBpswp5+chXr3T+jPuZfkx17V6oinu55v2fbo8UFz3tOhALnm1NGufNpkvgFa3hDV2UuONM9Y3+3gNOg536GBaLc6fq7hIPFSSaTY8N1rD4hyWqwNhyjQKS2X6xdn//Ij09VkxG5PZTAyeB+k7iZ5YXjmNRtJRvTgT+nl5xXcxBEL5IpQUD9TfjFbunXKvieYqybmgmite3zpN7nZEl7ZBo7ssP5UXH9j0BFrOFFg=
Steps to reproduce
Have code like this:
Click button. See error.
What is expected?
Value prop should be accessible even when used with
satisfies { handler: () => void }
What is actually happening?
Errro
System Info
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: