| 1 | interface PromiseWithResolvers<T> { |
| 2 | promise: Promise<T>; |
| 3 | resolve: (value: T | PromiseLike<T>) => void; |
| 4 | reject: (reason?: any) => void; |
| 5 | } |
| 6 | |
| 7 | function withResolvers<T>(): PromiseWithResolvers<T> { |
| 8 | const rv = {} as PromiseWithResolvers<T>; |
nothing calls this directly
no outgoing calls
no test coverage detected