Skip to content

Function: routeHashOptions() ​

Call Signature ​

ts
function routeHashOptions<T>(options): T;

Defined in: router/options.ts:30

Returns the options it is given with their types intact, as routeStateOptions does for a route state.

Type Parameters ​

Type Parameter
T extends ReactiveFields<RouteHashOptions, "missing">

Parameters ​

ParameterType
optionsExact<T, ReactiveFields<RouteHashOptions, "missing">>

Returns ​

T

Call Signature ​

ts
function routeHashOptions<T>(options): () => T;

Defined in: router/options.ts:33

Returns the options it is given with their types intact, as routeStateOptions does for a route state.

Type Parameters ​

Type Parameter
T extends ReactiveFields<RouteHashOptions, "missing">

Parameters ​

ParameterType
options() => Exact<T, ReactiveFields<RouteHashOptions, "missing">>

Returns ​

() => T

Released under the MIT License.