Generic type variables
Last updated
Was this helpful?
Last updated
Was this helpful?
A generic type variable constrained by the , by default of the value captured from the provided indicates the text type of a new instance.
The constructor text
parameter is optional, and if not provided, the default value of the generic type variable is not captured, but it's an empty from the declaration.
A generic type variable constrained by the , by default of the value captured from the provided indicates the closing type of a new instance.