Thanks to visit codestin.com
Credit goes to github.com

Skip to content

vue-template-twoslash is broken in v3 #5493

@Gehbt

Description

@Gehbt

Vue - Official extension or vue-tsc version

3.0.1

VSCode version

1.102

Vue version

3.15.17

TypeScript version

5.8.3

System Info

package.json dependencies

Steps to reproduce

<template>
  <div>
    {{ name  }}<!--
        ^? -->
  </div>
</template>

<script setup lang="ts">
import { ref } from "vue";

const name = ref('');
</script>

What is expected?

in v2, the twoslash comment query could retrieve type inferences.

Image

What is actually happening?

The query result is none.

Link to minimal reproduction

No response

Any additional comments?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions