(this: unknown, e: any)
| 73 | ); |
| 74 | |
| 75 | function handleUnhandledRejection(this: unknown, e: any) { |
| 76 | api.onUnhandledError(e); |
| 77 | try { |
| 78 | const handler = (Zone as any)[UNHANDLED_PROMISE_REJECTION_HANDLER_SYMBOL]; |
| 79 | if (typeof handler === 'function') { |
| 80 | handler.call(this, e); |
| 81 | } |
| 82 | } catch (err) {} |
| 83 | } |
| 84 | |
| 85 | function isThenable(value: any): boolean { |
| 86 | return value && typeof value.then === 'function'; |
no outgoing calls
no test coverage detected
searching dependent graphs…