Documentation / @sw-file-lib/xml / TextValuePair
Interface: TextValuePair
ts
interface TextValuePair {
text?: string;
value?: number;
}Defined in: packages/xml/src/schemas/common.ts:83
Represents elements with text and value attributes in Stormworks microcontroller data.
If your function only reads the value and does not mutate it, prefer TextValuePairImmutable for its parameter type.
See
Properties
| Property | Type |
|---|---|
| |
|