@omnia/fx
Version:
Provide Omnia Fx typings and tooling for clientside Omnia development.
10 lines (9 loc) • 426 B
TypeScript
import { MaybeComputedElementRef, MaybeComputedRef, MaybeElement, UnRefElementReturn } from "./Types";
export declare const noop: () => void;
/**
* Get the dom element of a ref of element or Vue component instance
*
* @param elRef
*/
export declare function unrefElement<T extends MaybeElement>(elRef: MaybeComputedElementRef<T>): UnRefElementReturn<T>;
export declare function resolveUnref<T>(r: MaybeComputedRef<T>): T;