Home > @pago/reactive > Store

Store type

An object that inlines all Ref values and enables using them transparently.

Signature:

export declare type Store<T> = {
    [P in keyof T]: T[P] extends Ref<any> ? T[P]['current'] : T[P];
};

References: Ref