| 37 | = (foo) => foo.toString(); |
| 38 | |
| 39 | interface CallMeWithNewToGetString { |
| 40 | new(): string |
| 41 | } |
| 42 | // Usage |
| 43 | declare const Foo: CallMeWithNewToGetString; |
| 44 | const bar = new Foo(); // bar is inferred to be of type string |
nothing calls this directly
no outgoing calls
no test coverage detected