UNPKG

ts-toolbelt

Version:

TypeScript's largest utility library

8 lines (7 loc) 207 B
import { Split } from './Split'; import { Length as LLength } from '../List/Length'; /** * Get the length of a `string` * @param S */ export declare type Length<S extends string> = LLength<Split<S, ''>>;