Type alias SubString<T, U>

SubString<T, U>: T extends `${U}${infer R}`
    ? R
    : never

A type utility to create a substring of a string.

Type Parameters

  • T extends string

  • U extends string

Generated using TypeDoc