Skip to content

Functions: createExternalRoute() ​

Call Signature ​

ts
function createExternalRoute<TOptions>(options): ExternalRouteWithMethods<ToRoute<TOptions>, TOptions["context"]>;

Type Parameters ​

Type Parameter
TOptions extends CreateRouteOptions & WithHost & WithoutParent

Parameters ​

ParameterType
optionsTOptions

Returns ​

ExternalRouteWithMethods<ToRoute<TOptions>, TOptions["context"]>

Call Signature ​

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

Type Parameters ​

Type Parameter
TOptions extends CreateRouteOptions & WithoutHost & WithParent

Parameters ​

ParameterType
optionsTOptions

Returns ​

ExternalRouteWithMethods<ToRoute<TOptions>, ExtractRouteContext<TOptions>>