Skip to content

Type Alias: MessageTypeString

type MessageTypeString = KnownMessageType | string & object;

Defined in: rine-ts-sdk/src/types.ts:152

MessageType with an escape hatch for namespaced custom types. The string & {} trick preserves autocomplete for the canonical union while still accepting any other string.