feat(jex): add support for intersections #377
Annotations
3 errors
src/jex-extends.test.ts > jex-extends should be false if parent is an intersection of child:
jex/src/jex-extends.test.ts#L19
AssertionError: { a: string } ⊆ { a: string } & { [key: string]: string }: expected true to equal false
- Expected
+ Received
- false
+ true
❯ Object.toExtend src/jex-extends.test.ts:19:33
❯ src/jex-extends.test.ts:197:24
|
src/jex-extends.test.ts > jex-extends should be false if child is an intersection with less types than parent:
jex/src/jex-extends.test.ts#L19
AssertionError: { a: string } & { b: number } ⊆ { a: string } & { b: number } & { [key: string]: string }: expected true to equal false
- Expected
+ Received
- false
+ true
❯ Object.toExtend src/jex-extends.test.ts:19:33
❯ src/jex-extends.test.ts:217:24
|
jex
Process completed with exit code 1.
|