(args: any[], source: string)
| 66 | const REMOVE_ATTRIBUTE = 'removeAttribute'; |
| 67 | |
| 68 | export function bindArguments(args: any[], source: string): any[] { |
| 69 | for (let i = args.length - 1; i >= 0; i--) { |
| 70 | if (typeof args[i] === 'function') { |
| 71 | args[i] = wrapWithCurrentZone(args[i], source + '_' + i); |
| 72 | } |
| 73 | } |
| 74 | return args; |
| 75 | } |
| 76 | |
| 77 | export function patchPrototype(prototype: any, fnNames: string[]) { |
| 78 | const source = prototype.constructor['name']; |
no test coverage detected
searching dependent graphs…