# Announce

Sends a message to the one app-wide announcer: text, or a `Message`
(a key and its parameters) that is formatted with the active catalogue
just before it is queued.

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

## Signature

```ts
import type { Announce } from "@mapcairn/map";
 
type Announce = (message: string | Message, options?: AnnounceOptions) => void;
```

## See also

- [`Message`](https://docs.mapcairn.com/api/core/Message-typealias.md)
- [`AnnounceOptions`](https://docs.mapcairn.com/api/map/AnnounceOptions.md)

Source: [packages/map/src/ui/LiveRegion/announcer.ts:30](https://github.com/MapCairn/mapcairn/blob/main/packages/map/src/ui/LiveRegion/announcer.ts#L30)
