Skip to content

layout-sider bad declaration? #4866

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

Closed
1 task
jvalrog opened this issue Nov 9, 2021 · 2 comments
Closed
1 task

layout-sider bad declaration? #4866

jvalrog opened this issue Nov 9, 2021 · 2 comments
Labels

Comments

@jvalrog
Copy link

jvalrog commented Nov 9, 2021

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

2.2.8

Environment

vue 3.2.16, unplugin-vue-components 0.17.2, vite 2.6.4, vitejs/plugin-vue 1.9.3, vite-tsc 0.3.0

Reproduction link

Edit on CodeSandbox

Steps to reproduce

Add "layout-sider" to a template

What is expected?

Expects a correct declaration in "component.d.ts" auto import so I can pass the correct parameters to the component

What is actually happening?

LayoutSider is imported as "any" and there is no declaration of the parameters


In "ant-design-vue/es/layout/index.d.ts" LayoutSider is declared as:

export declare const LayoutSider: any;

Is this correct?

@Tanimodori
Copy link

Note: Tree.TreeNode not exported issue in 2.x is fixed here.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants