Type Alias: ScoreOf<T>
ts
type ScoreOf<T> = number extends T["length"] ? number : Extract<keyof T, `${number}`>;Score keys inferred from the rubric: indices of a fixed-length tuple, otherwise number.
类型参数
T
T extends ScoreCriteria

