MCPcopy Create free account
hub / github.com/immutable-js/immutable-js / Foo

Function Foo

__tests__/Seq.ts:49–52  ·  view source on GitHub ↗
(this: { bar: string; baz: string })

Source from the content-addressed store, hash-verified

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 });

Callers 1

Record.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected