Functions: createExternalRoute()
Call Signature
ts
function createExternalRoute<TOptions>(options): ExternalRouteWithMethods<ToRoute<TOptions>, TOptions["context"]>;Type Parameters
| Type Parameter |
|---|
TOptions extends CreateRouteOptions & WithHost & WithoutParent |
Parameters
| Parameter | Type |
|---|---|
options | TOptions |
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
| Parameter | Type |
|---|---|
options | TOptions |
Returns
ExternalRouteWithMethods<ToRoute<TOptions>, ExtractRouteContext<TOptions>>