How a diagnostic describes a declared attribute type, naming the alternatives when the type is a closed list rather than one of the shared value types.
import { attributeTypeDescription } from '@datamoc/mw_games/mwl';console.log(attributeTypeDescription(['literal', 'number'])); // 'one of literal, number' Copy
import { attributeTypeDescription } from '@datamoc/mw_games/mwl';console.log(attributeTypeDescription(['literal', 'number'])); // 'one of literal, number'
How a diagnostic describes a declared attribute type, naming the alternatives when the type is a closed list rather than one of the shared value types.