You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like a way to write a test like the following:
interfaceFoo{foo: string|number;}test("{ foo: 10 } is assignable to Foo",(t)=>t.assignable({foo: 10})<Foo>());
This seems to be subtly different to extends and includes in that extends tests that A is a strict superset of B instead of testing that A is sufficient to satisfy B.