Preview:```ts
class Extension<T extends string> {
name: T
constructor(args: T) {
this.name = args
}
}
const g = new Extension("f")
g.name
// ^?
class _Extension<T extends {test: string}> {
name: T
constructor(args: T) {
this.name = args
}
}
const g2 = new _Extension({test: "f"})
...```
You can choose specific lines to embed by selecting them before copying the link.
you saved my day