Is Key and Pos in a single type
Key
Pos
to query
output
string | number
import {I} from 'ts-toolbelt' /// Let's make '20' an iteration type i = I.IterationOf<'20'> // [...] type fmtS = I.Fmt<i, 's'> // '20' type fmtN = I.Fmt<i, 'n'> // 20
Made with ❤️ by pirix-gh. Documentation generated by TypeDoc.
Is
Key
andPos
in a single type