UNPKG

type-enhancers

Version:
5 lines (3 loc) 149 B
import type { TrimStart } from './TrimStart'; import type { TrimEnd } from './TrimEnd'; export type Trim<T extends string> = TrimStart<TrimEnd<T>>;