Type alias EndWithOut<S, E>

EndWithOut<S, E>: S extends `${infer U}${E}`
    ? U
    : S

Type Parameters

  • S extends string

  • E extends string

Generated using TypeDoc