(target: Object)
| 55 | * from the target object itself, inherited properties are not considered. |
| 56 | */ |
| 57 | export function getOnEventNames(target: Object) { |
| 58 | return Object.getOwnPropertyNames(target) |
| 59 | .filter((name) => name.startsWith('on') && name.length > 2) |
| 60 | .map((name) => name.substring(2)); |
| 61 | } |
| 62 | |
| 63 | export function propertyDescriptorPatch(api: _ZonePrivate, _global: any) { |
| 64 | if (isNode && !isMix) { |
no test coverage detected