BracketsToEmpty<T>: T extends `[]${infer U}` ? BracketsToEmpty<U> : T

Type Parameters

  • T