Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
13 lines
548 B
Plaintext
13 lines
548 B
Plaintext
import type { FormatMessage } from './types.js';
|
|
/**
|
|
* Compiles and formats an ICU message at runtime using intl-messageformat.
|
|
* This is the default implementation used when messages are not precompiled.
|
|
*/
|
|
declare function formatMessage(
|
|
/** The raw ICU message string (or precompiled message, though this implementation ignores precompilation) */
|
|
...[key, message, values, options]: Parameters<FormatMessage<string>>): ReturnType<FormatMessage<string>>;
|
|
declare namespace formatMessage {
|
|
var raw: boolean;
|
|
}
|
|
export default formatMessage;
|