Preview:```ts
interface Comply {
method1(): string
}
function fn1(x: Comply) {
return x.method1()
}
class Methods2<V> {
method1<V>(this: User<V>) {
return this.v
}
}
type User<T> = {
v: T
name: string
}
let obj1 = {v: 58, name: "john"} as User<number> &
Methods2<number>
...```
You can choose specific lines to embed by selecting them before copying the link.