internal.FromNumberStringToNumber
Home > @backstage/backend-openapi-utils
> internal
> FromNumberStringToNumber
Helper to convert from string to number, used to index arrays and pull out just the indices in the array.
Signature:
export type FromNumberStringToNumber<NumberString extends string | number | symbol> = NumberString extends `${infer R extends number}` ? R : never;