Type alias ExtractChainFormatterParameters<chain, type, fallback>

ExtractChainFormatterParameters<chain, type, fallback>: chain extends {
        formatters?: infer _Formatters extends ChainFormatters;
    }
    ? _Formatters[type] extends ChainFormatter
        ? Parameters<_Formatters[type]["format"]>[0]
        : fallback
    : fallback

Type Parameters

Generated using TypeDoc