1
This commit is contained in:
9
admin/node_modules/element-plus/lib/hooks/use-forward-ref/index.d.ts
generated
vendored
Normal file
9
admin/node_modules/element-plus/lib/hooks/use-forward-ref/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import type { InjectionKey, ObjectDirective, Ref } from 'vue';
|
||||
type ForwardRefSetter = <T>(el: T) => void;
|
||||
export type ForwardRefInjectionContext = {
|
||||
setForwardRef: ForwardRefSetter;
|
||||
};
|
||||
export declare const FORWARD_REF_INJECTION_KEY: InjectionKey<ForwardRefInjectionContext>;
|
||||
export declare const useForwardRef: <T>(forwardRef: Ref<T | null>) => void;
|
||||
export declare const useForwardRefDirective: (setForwardRef: ForwardRefSetter) => ObjectDirective;
|
||||
export {};
|
||||
Reference in New Issue
Block a user