Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using slots in recursive components ts type verification failed #6323

Open
yixinagqingyuan opened this issue Jul 21, 2022 · 0 comments
Open

Comments

@yixinagqingyuan
Copy link

Vue version

3.2.37

Link to minimal reproduction

https://github.com/yixinagqingyuan/treelist

Steps to reproduce

The problem of using recursive component TS verification is as follows:

image

What is expected?

No TS error warning

What is actually happening?

There are TS error warnings

System Info

System:
    OS: macOS 12.4
    CPU: (8) arm64 Apple M1
    Memory: 78.77 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.13.1 - ~/.nvm/versions/node/v16.13.1/bin/node
    Yarn: 1.22.17 - /opt/homebrew/bin/yarn
    npm: 8.1.2 - ~/.nvm/versions/node/v16.13.1/bin/npm
  Browsers:
    Chrome: 103.0.5060.134
    Firefox: 95.0.2
    Safari: 15.5
  npmPackages:
    vue: ^3.2.37 => 3.2.37

Any additional comments?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants