MFML - v0.0.4
    Preparing search index...

    Interface Compiler

    Compiles MFML messages to a source code.

    interface Compiler {
        compile(
            messages: { [locale: string]: { [messageKey: string]: string } },
        ): Promise<Record<string, string>>;
    }
    Index

    Methods

    Methods

    • Compiles MFML messages to a source code.

      Parameters

      • messages: { [locale: string]: { [messageKey: string]: string } }

        Messages arranged by a locale.

      Returns Promise<Record<string, string>>

      The map from a file path to file contents.