-
-
Notifications
You must be signed in to change notification settings - Fork 527
Labels
Description
Vue - Official extension or vue-tsc version
3.1.8
VSCode version
Vue version
3.5.25
TypeScript version
5.8.3
System Info
System:
OS: Linux 6.6 Ubuntu 22.04.3 LTS 22.04.3 LTS (Jammy Jellyfish)
CPU: (4) x64 13th Gen Intel(R) Core(TM) i9-13900HX
Memory: 13.49 GB / 15.62 GB
Container: Yes
Shell: 5.1.16 - /bin/bash
Binaries:
Node: 24.11.1 - /home/volar/.nvm/versions/node/v24.11.1/bin/node
Yarn: 4.12.0 - /home/volar/.nvm/versions/node/v24.11.1/bin/yarn
npm: 11.6.2 - /home/volar/.nvm/versions/node/v24.11.1/bin/npmpackage.json dependencies
Steps to reproduce
Destructuring + aliasing in template (#counter="{ value: counterValue }") stopped working.
its now shows error TS2339: Property 'counterValue' does not exist on type
<template
v-else-if="suggestedLength"
#counter="{ value: counterValue }"
>
<span :class="{ 'text-warning': showCounterWarning(counterValue) }">
{{ t('common.system.inputSuggestedMax', { current: counterValue, max: suggestedLength }) }}
</span>
</template>latest working version: 3.1.5
What is expected?
it should be ok, without error
What is actually happening?
error TS2339: Property 'counterValue' does not exist on type
Link to minimal reproduction
No response
Any additional comments?
No response
Reactions are currently unavailable