| 32 | }); |
| 33 | |
| 34 | class Visitor extends RecursiveAstVisitor { |
| 35 | override visit(node: AST, path: AST[]) { |
| 36 | path.push(node); |
| 37 | node.visit(this, path); |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | type Newable = new (...args: any) => any; |
| 42 | function expectType<T extends Newable>(val: any, t: T): asserts val is InstanceType<T> { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…