remove

Deletes the text style from the project. You need a reference to the style to call this method.

await textStyle.remove()

Returns

  • Promise<void>