Skip to content

Space 组件没有 .d.ts 声明文件,在 ts 中无法按需引入 #3619

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
linhongdong opened this issue Jan 29, 2021 · 3 comments
Closed
1 task
Labels

Comments

@linhongdong
Copy link

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

Version

1.7.2

Environment

"typescript": "3.9.3", "ant-design-vue": "1.7.2", "vuex": "3.4.0"

Reproduction link

https://www.antdv.com/components/space-cn/

Steps to reproduce

import { Space } from 'ant-design-vue'

模块 ""../../../node_modules/ant-design-vue/types"" 没有导出的成员 "Space"。你是想改用 "import Space from "../../../node_modules/ant-design-vue/types"" 吗?ts(2614)

What is expected?

可以按需导入 Space 组件

What is actually happening?

实际无法按需导入 Space 组件

@github-actions
Copy link

Hello @lin15263550843. We totally like your proposal/feedback, welcome to send us a Pull Request for it. Please send your Pull Request to proper branch, fill the Pull Request Template here, provide changelog/TypeScript/documentation/test cases if needed and make sure CI passed, we will review it soon. We appreciate your effort in advance and looking forward to your contribution!

你好 @lin15263550843,我们完全同意你的提议/反馈,欢迎直接在此仓库创建一个 Pull Request 来解决这个问题。请将 Pull Request 发到正确的分支,务必填写 Pull Request 内的预设模板,提供改动所需相应的 changelog、TypeScript 定义、测试用例、文档等,并确保 CI 通过,我们会尽快进行 Review,提前感谢和期待您的贡献。

@ajuner
Copy link
Member

ajuner commented Jan 31, 2021

#3340

@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 Feb 16, 2022
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

4 participants