js-util

Home > rc-js-util > TExtractIndexes

TExtractIndexes type

Extract numerical indexes out of a type, if there aren’t any fallback to number.

Signature:

export declare type TExtractIndexes<T> = TNeverFallback<Extract<keyof T, number>, number>;

References: TNeverFallback