interface / @typed/svelte/Reactive

RefSubjectOptions

Overrides the first server/client snapshot, including for an uninitialized ref.

Package version
1.0.0-beta.13
Category
interface

Import

import { RefSubjectOptions } from "@typed/svelte/Reactive";

Signatures

export interface RefSubjectOptions<A, E, R, ER = never> extends Omit<SourceOptions<A, E, R, ER>, "initial"> {
    readonly initial?: A;
}

Property: initial

Overrides the first server/client snapshot, including for an uninitialized ref.

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source