UNPKG

ts-toolbelt

Version:

TypeScript's largest utility library

9 lines (8 loc) 224 B
import { Split } from './Split'; import { At as AAt } from '../Any/At'; /** * Get the character at position `K` * @param S * @param K */ export declare type At<S extends string, K extends number> = AAt<Split<S, ''>, K>;