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
14 lines
562 B
Plaintext
14 lines
562 B
Plaintext
import { type CompiledMessage } from 'icu-minify/format';
|
|
import type { FormatMessage } from './types.js';
|
|
/**
|
|
* Formats a precompiled ICU message using icu-minify/format.
|
|
* This implementation requires messages to be precompiled at build time.
|
|
*/
|
|
declare function formatMessage(
|
|
/** The precompiled ICU message (CompiledMessage from icu-minify) */
|
|
...[, message, values, options]: Parameters<FormatMessage<CompiledMessage>>): ReturnType<FormatMessage<CompiledMessage>>;
|
|
declare namespace formatMessage {
|
|
var raw: boolean;
|
|
}
|
|
export default formatMessage;
|