Preview:```ts
class Foo {
constructor(
private readonly bar: number,
) {}
getBar() {
return this.bar;
}
}
const foo = new Foo(42);
const deserializedFoo = JSON.parse(JSON.stringify(foo));
type typeOfFoo = typeof foo; // Foo
type typeOfDeserializedFoo = typeof deserializedFoo; // any
...```
You can choose specific lines to embed by selecting them before copying the link.