Type alias ExtractAttrName<S>

ExtractAttrName<S>: S extends `${string}[${infer A}]` ? A : S

Type Parameters

Type Parameters

  • S extends string