(this: { bar: string; baz: string })
| 47 | |
| 48 | it('accepts arbitrary objects', () => { |
| 49 | function Foo(this: { bar: string; baz: string }) { |
| 50 | this.bar = 'bar'; |
| 51 | this.baz = 'baz'; |
| 52 | } |
| 53 | // @ts-expect-error -- any type for too complex object |
| 54 | expect(Seq(new Foo()).size).toBe(2); |
| 55 | }); |