Link Search Menu Expand Document

runtime package

A collection of runtime utility functions

Remarks

This package should be marked as a dependency for any package that publishes the output of compileModule(), as it may be included in its ES module source output as a dependency.

For applications that bundle their output using e.g. Webpack this is not necessary.

The Messages accessor class is a completely optional addition. See also @messageformat/react for a React-specific solution.

Classes

Class Description
Messages Accessor class for compiled message functions generated by compileModule()

Interfaces

Interface Description
MessageData Hierarchical message object

Type Aliases

Type Alias Description
MessageFunction A message function, as generated by MessageFormat.compile()