Skip to content

LocationOpts type

Home > @rimitive/router > LocationOpts

Options passed to location factory

Signature:

export type LocationOpts = {
signal: <T>(value: T) => Writable<T>;
computed: <T>(fn: () => T) => Readable<T>;
currentPath: Reactive<string>;
};

References: Writable, Readable, Reactive