diff --git a/contributors.yml b/contributors.yml index b1cefda8b7..08a1f590ee 100644 --- a/contributors.yml +++ b/contributors.yml @@ -39,6 +39,7 @@ - arnassavickas - aroyan - Artur- +- AsamK - ashusnapx - avipatel97 - awreese diff --git a/packages/react-router/lib/router/utils.ts b/packages/react-router/lib/router/utils.ts index b670d47781..d682fcf1aa 100644 --- a/packages/react-router/lib/router/utils.ts +++ b/packages/react-router/lib/router/utils.ts @@ -628,14 +628,14 @@ export type LazyRouteDefinition = * Base RouteObject with common props shared by all types of routes */ type AgnosticBaseRouteObject = { - caseSensitive?: boolean; - path?: string; - id?: string; - middleware?: MiddlewareFunction[]; - loader?: LoaderFunction | boolean; - action?: ActionFunction | boolean; - hasErrorBoundary?: boolean; - shouldRevalidate?: ShouldRevalidateFunction; + caseSensitive?: boolean | undefined; + path?: string | undefined; + id?: string | undefined; + middleware?: MiddlewareFunction[] | undefined; + loader?: LoaderFunction | boolean | undefined; + action?: ActionFunction | boolean | undefined; + hasErrorBoundary?: boolean | undefined; + shouldRevalidate?: ShouldRevalidateFunction | undefined; handle?: any; lazy?: LazyRouteDefinition; };