Type Alias SeparatedStr<S, T, Key>

SeparatedStr: Key extends string
    ? `${Key},${SeparatedStr<S, Exclude<T, Key>>}`
    | Key
    : never

Type Parameters

  • S extends string
  • T extends string
  • Key extends T = T
MMNEPVFCICPMFPCPTTAAATR