(obj: any)
| 25 | |
| 26 | const myShape: MyShape = {propA: 'value', propB: 3}; |
| 27 | function isMyShape(obj: any): obj is MyShape { |
| 28 | return isShapeOf<MyShape>(obj, ShapeOfMyShape); |
| 29 | } |
| 30 | const ShapeOfMyShape: ShapeOf<MyShape> = {propA: true, propB: true}; |
| 31 | function matchMyShape(expected?: Partial<MyShape>): jasmine.AsymmetricMatcher<MyShape> { |
| 32 | return matchObjectShape('MyShape', isMyShape, expected); |
no test coverage detected
searching dependent graphs…