5 lines
299 B
TypeScript
Raw Permalink Normal View History

2025-09-05 14:59:21 +08:00
import { ComponentPublicInstance, Ref } from 'vue';
type AsElement<T extends HTMLElement | ComponentPublicInstance> = (T extends HTMLElement ? T : HTMLElement) | null;
export declare function dom<T extends HTMLElement | ComponentPublicInstance>(ref?: Ref<T | null>): AsElement<T> | null;
export {};