# RouteOptions

Replaces the ambient mount. Outside this root, Typed reports RouteNotFound.

## Signatures

```ts
export interface RouteOptions<Rt extends Route.Route.Any, ER = never> extends ReactiveOptions<Option.Option<Route.Route.Type<Rt>>, Matcher.RouteNotFound | Matcher.RouteDecodeError | Matcher.RouteGuardError, Router | Scope.Scope | Route.Route.DecodingServices<Rt>, ER> {
    readonly currentRoute?: CurrentRouteTree;
}
```

## Property: currentRoute

Replaces the ambient mount. Outside this root, Typed reports RouteNotFound.
