Skip to content

TextSegment beta ​

TypeAlias of @v12-engine/engine

ts
export type TextSegment = string | {
    name: string;
    value: AbilityValue;
};

A piece of the text of an ability: words, or a value to show as one (bold, its parts in their colours)