chore: 更新导航链接类型定义信息,添加 _data 和 _key 属性

This commit is contained in:
2024-09-01 01:05:43 +08:00
parent 203c35b506
commit 0d9fdf2cd6

4
types/web.d.ts vendored
View File

@@ -27,6 +27,10 @@ declare global {
showOnly?: boolean;
/** 链接项 URL */
url?: string;
/** 自身数据,备用 */
_data?: NavLinkItem;
/** 处理后生成的唯一 ID */
_key?: string;
};
// window