Skip to main content
Version: Next

OptionalParams

Home > @backstage/core-plugin-api > OptionalParams

Warning: This API is now obsolete.

this type is deprecated and will be removed in the future

Optional route params.

Signature:

export type OptionalParams<Params extends {
[param in string]: string;
}> = Params[keyof Params] extends never ? undefined : Params;