mirror of
https://github.com/jekip/naive-ui-admin.git
synced 2026-02-04 13:42:27 +08:00
fix: 修复ts类型找不到错误
This commit is contained in:
4
types/index.d.ts
vendored
4
types/index.d.ts
vendored
@@ -26,7 +26,3 @@ declare interface ComponentElRef<T extends HTMLElement = HTMLDivElement> {
|
||||
declare type ComponentRef<T extends HTMLElement = HTMLDivElement> = ComponentElRef<T> | null;
|
||||
|
||||
declare type ElRef<T extends HTMLElement = HTMLDivElement> = Nullable<T>;
|
||||
|
||||
export type DynamicProps<T> = {
|
||||
[P in keyof T]: Ref<T[P]> | T[P] | ComputedRef<T[P]>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user