@worldware/msg-cli
    Preparing search index...

    Function unitTypeToFormat

    • Decodes an XLIFF unit type into a MsgFormat. Accepts msg:MF1 (canonical) and bare MF1 for resilience.

      Parameters

      • type: string | null | undefined

      Returns MsgFormat | undefined

      undefined when type is missing or not a recognized format