MessageFunction type

A message function, as generated by MessageFormat.compile()

Signature:

export type MessageFunction = (param?: Record<string, unknown>) => string | unknown[];