Type alias WithOrWithoutPlural<Key>

WithOrWithoutPlural<Key>: _JSONFormat extends "v4"
    ? Key extends `${infer KeyWithoutOrdinalPlural}${_PluralSeparator}ordinal${_PluralSeparator}${PluralSuffix}`
        ? KeyWithoutOrdinalPlural | Key
        : Key extends `${infer KeyWithoutPlural}${_PluralSeparator}${PluralSuffix}`
            ? KeyWithoutPlural | Key
            : Key
    : Key

Type Parameters

  • Key

Generated using TypeDoc