Home > @skunkteam/types > BaseTypeImpl > withName
Create a new instance of this Type with the given name.
Signature:
withName(name: string): this;
Parameter | Type | Description |
---|---|---|
name | string | the new name to use in error messages |
Returns:
this
Does not create a brand.