Type alias ParamName<T, R>

ParamName<T, R>: T extends `${infer A}${infer B}` ? A extends AlphabetLiteral | NumberLiteral | SymbolLiteral ? ParamName<B, `${R}${A}`> : R : R

Type Parameters

  • T extends string

  • R extends string

Generated using TypeDoc