feat(jex): add support for intersections #376
Annotations
3 errors
src/jex-extends.test.ts > jex-extends should be true if child is an intersection with more types than parent:
jex/src/jex-extends.test.ts#L24
AssertionError:
- #: string ⊈ number
- #: number ⊈ string
- #: boolean ⊈ string
- #: boolean ⊈ number
: expected false to equal true
- Expected
+ Received
- true
+ false
❯ Object.toExtend src/jex-extends.test.ts:24:31
❯ src/jex-extends.test.ts:208:20
|
src/jex-extends.test.ts > jex-extends should be true if child is an intersection of objects that meets all requirements of parent:
jex/src/jex-extends.test.ts#L24
AssertionError:
- #.b: undefined ⊈ number
- #.a: undefined ⊈ string
- #.a: undefined ⊈ string
- #.b: undefined ⊈ number
: expected false to equal true
- Expected
+ Received
- true
+ false
❯ Object.toExtend src/jex-extends.test.ts:24:31
❯ src/jex-extends.test.ts:222:20
|
jex
Process completed with exit code 1.
|