Skip to main content

MessagePart

Text that fills a string placeholder of a Message: plain text, a nested message, or a HostText that the one place that speaks the sentence translates. Use it for a definition's name in an announcement.

This is a type alias exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import type { MessagePart } from "@mapcairn/core";

type MessagePart = string | Message | HostText;

See also​

Source: packages/core/src/ports/messages.ts:1232