Backstage
    Preparing search index...
    • Create a RouteRef from a route descriptor.

      Type Parameters

      • TParamKeys extends string = never

      Parameters

      • Optionalconfig: { aliasFor?: string; params?: TParamKeys[] }

        Description of the route reference to be created.

        • OptionalaliasFor?: string

          An ID of another route ref that this ref is an alias for, used to avoid duplicate route warnings when the same feature is reached through multiple routes.

        • Optional Readonlyparams?: TParamKeys[]

          A list of parameter names that the path that this route ref is bound to must contain

      Returns RouteRef<
          [TParamKeys] extends [never] ? undefined : { [param in string]: string },
      >