@apiref-examples/core » (main) » MessageFormatter interfaceA callable interface for formatting messages with optional interpolation data. Call SignaturesMessageFormatter (1/2) interfaceSignature(message: string): stringParametersmessageMessage to format ReturnsThe formatted message MessageFormatter (2/2) interfaceSignature(template: string, values: Record<string, string | number>): stringParameterstemplateMessage template to format valuesReplacement values keyed by placeholder name ReturnsThe formatted message PropertiesdefaultPrefix propertyTypestringPrefix added before each formatted message