@vue-material/core
Version:
Yet another 'Material Design Components' library for Vue3.
10 lines (8 loc) • 436 B
TypeScript
import { MaybeFunction } from '../utils';
import { ComputedRef, Ref, ShallowReactive } from 'vue';
export declare const ProxyValue: unique symbol;
export type WithProxyRef<T extends object> = ShallowReactive<T> & {
[ProxyValue]: T;
};
export declare function toProxy<T extends object>(ref: Ref<T>, readonly?: boolean): WithProxyRef<T>;
export declare function modifiedComputed<T>(value: MaybeFunction<T> | Ref<T>): ComputedRef<T>;