We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adf9c13 commit b80d4caCopy full SHA for b80d4ca
packages/utils/test/types.test.ts
@@ -15,9 +15,9 @@ describe('type utilities', () => {
15
});
16
17
it('cannot cast tuples', () => {
18
- expect(explicitlyCastable(PrimitiveType.INT, new TupleType(PrimitiveType.INT)))
+ expect(explicitlyCastable(PrimitiveType.INT, new TupleType(PrimitiveType.INT, PrimitiveType.INT)))
19
.toEqual(false);
20
- expect(explicitlyCastable(new TupleType(PrimitiveType.INT), PrimitiveType.STRING))
+ expect(explicitlyCastable(new TupleType(PrimitiveType.INT, PrimitiveType.INT), PrimitiveType.STRING))
21
22
23
0 commit comments