style(lint): fix lint issues

This commit is contained in:
Brandy Carney
2019-07-08 11:11:49 -04:00
parent e059fc8048
commit 0031ab82b7
2 changed files with 1 additions and 2 deletions

View File

@ -223,7 +223,7 @@ export class Alert implements ComponentInterface, OverlayInterface {
input.checked = input === selectedInput; input.checked = input === selectedInput;
} }
this.activeId = selectedInput.id; this.activeId = selectedInput.id;
safeCall(selectedInput.handler, selectedInput) safeCall(selectedInput.handler, selectedInput);
this.el.forceUpdate(); this.el.forceUpdate();
} }

View File

@ -203,7 +203,6 @@ const overlayAnimation = async (
return hasCompleted; return hasCompleted;
}; };
export const eventMethod = <T>(element: HTMLElement, eventName: string): Promise<T> => { export const eventMethod = <T>(element: HTMLElement, eventName: string): Promise<T> => {
let resolve: (detail: T) => void; let resolve: (detail: T) => void;
const promise = new Promise<T>(r => resolve = r); const promise = new Promise<T>(r => resolve = r);