diff --git a/angular/src/directives/proxies.ts b/angular/src/directives/proxies.ts index 0018ca73c3..eaa1b6c6af 100644 --- a/angular/src/directives/proxies.ts +++ b/angular/src/directives/proxies.ts @@ -1,5 +1,5 @@ -/* auto-generated angular directive proxies */ /* tslint:disable */ +/* auto-generated angular directive proxies */ import { fromEvent } from 'rxjs'; import { ChangeDetectionStrategy, Component, ElementRef, EventEmitter, ViewEncapsulation } from '@angular/core'; diff --git a/angular/src/providers/platform.ts b/angular/src/providers/platform.ts index 93d07e8671..2347968b5d 100644 --- a/angular/src/providers/platform.ts +++ b/angular/src/providers/platform.ts @@ -83,14 +83,14 @@ export class Platform { * | cordova | on a device running Cordova. | * | ios | on a device running iOS. | * | ipad | on an iPad device. | - * | iphone | on an iPhone device. | + * | iphone | on an iPhone device. | * | phablet | on a phablet device. | - * | tablet | on a tablet device. | + * | tablet | on a tablet device. | * | electron | in Electron on a desktop device. | * | pwa | as a PWA app. | * | mobile | on a mobile device. | * | desktop | on a desktop device. | - * | hybrid | is a cordova or capacitor app. | + * | hybrid | is a cordova or capacitor app. | * */ is(platformName: Platforms): boolean { diff --git a/angular/src/util/util.ts b/angular/src/util/util.ts index 513b9db84e..53a183879b 100644 --- a/angular/src/util/util.ts +++ b/angular/src/util/util.ts @@ -8,7 +8,7 @@ export function inputs(instance: any, el: ElementRef, props: string[]) { }); } -export function proxyEvent(emitter: any, el: Node, eventName: string) { +export function proxyEvent(emitter: any, el: EventTarget, eventName: string) { el.addEventListener(eventName, (ev) => { emitter.emit(ev); });