Skip to content

Functions: createExternalRoute()

Call Signature

ts
function createExternalRoute<TOptions>(options): ToRoute<TOptions, undefined>;

Type Parameters

Type Parameter
TOptions extends WithHooks & object & WithHost< | string | WithParams<string, Record<string, undefined | Param>>> & WithoutParent

Parameters

ParameterType
optionsTOptions

Returns

ToRoute<TOptions, undefined>

Call Signature

ts
function createExternalRoute<TOptions>(options): ToRoute<TOptions, undefined>;

Type Parameters

Type Parameter
TOptions extends WithHooks & object & WithoutHost & WithParent<Route<string, WithParams<string, Record<string, undefined | Param>>, WithParams<string, Record<string, undefined | Param>>, WithParams<string, Record<string, undefined | Param>>, WithParams<string, Record<string, undefined | Param>>, Record<string, unknown>, Record<string, Param>, CreatedRouteOptions[]>>

Parameters

ParameterType
optionsTOptions

Returns

ToRoute<TOptions, undefined>