Generic type variables

Tag<Name, ...>

Name extends string

​A generic type variable constrained by the string by default of the value captured from the provided name parameter indicates the name of a new Tag instance.

Tag<..., Opening, ..., ...>

Opening extends string

​A generic type variable constrained by the string by default of the value captured from the provided opening parameter indicates the opening type of a new Tag instance.

Tag<..., ..., Closing, ...>

Closing extends string

​A generic type variable constrained by the string by default of the value captured from the provided wrap parameter indicates the closing type of a new Tag instance.

Tag<..., AttributeName>

AttributeName extends string

​A generic type variable constrained by the string by default of the value captured from the provided attributes rest parameter indicates the attribute names of a new Tag instance.

Last updated

Was this helpful?