We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
TabPane的插槽类型仍然有问题:类型“Readonly<{ default?: (() => VNode<RendererNode, RendererElement, { [key: string]: any; }>[]) | undefined; prefix?: (() => VNode<RendererNode, RendererElement, { ...; }>[]) | undefined; suffix?: (() => VNode<...>[]) | undefined; }>”上不存在属性“tab”。
直接install,然后使用TabPane的tab插槽
无
pnpm
The text was updated successfully, but these errors were encountered:
同此问题。目前使用如下代码绕过类型检查。
import 'naive-ui' declare module 'naive-ui' { interface TabPaneSlots { tab?: () => VNode[] } }
Sorry, something went wrong.
No branches or pull requests
描述错误
TabPane的插槽类型仍然有问题:类型“Readonly<{ default?: (() => VNode<RendererNode, RendererElement, { [key: string]: any; }>[]) | undefined; prefix?: (() => VNode<RendererNode, RendererElement, { ...; }>[]) | undefined; suffix?: (() => VNode<...>[]) | undefined; }>”上不存在属性“tab”。
复现步骤
直接install,然后使用TabPane的tab插槽
最小复现链接
无
系统信息
使用的包管理器
pnpm
验证
The text was updated successfully, but these errors were encountered: