Preview:```ts
//in my code
type ParseInt<T extends text${number}> =
T extends any
? (T extends text${infer Digit extends number}
? Digit
: never)
: never
type Result = ParseInt<"text0" | "text1" | "text2" | "text3" | "text">
// ^?
//in my code
type ParseInt2<T> =
...```
You can choose specific lines to embed by selecting them before copying the link.