LocationOpts type
Home > @rimitive/router > LocationOpts
LocationOpts type
Section titled “LocationOpts type”Options passed to location factory
Signature:
export type LocationOpts = { signal: <T>(value: T) => Writable<T>; computed: <T>(fn: () => T) => Readable<T>; currentPath: Reactive<string>;};