Skip to content

no exported member 'ref' #4590

@mnlipp

Description

@mnlipp

Version

3.2.11

Reproduction link

github.com

Steps to reproduce

Use typescript.

import { App, Ref, ref } from 'vue'

Observe the error. Removing "Ref" and "ref" makes it work ("App" can be imported"). But importing either "ref" or "Ref" results in the error: Module '"../node_modules/vue/dist/vue"' has no exported member ...

This worked without problems in 3.1.1.

What is expected?

Should compile.

What is actually happening?

Reports error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions