refactor(angular): use arrow functions (#18910)

This commit is contained in:
Manu MA
2019-08-06 14:18:08 +02:00
committed by GitHub
parent 3a22105375
commit f94300cbb3
8 changed files with 24 additions and 24 deletions

View File

@ -5,7 +5,7 @@ import { Config } from './providers/config';
import { IonicWindow } from './types/interfaces';
import { raf } from './util/util';
export function appInitialize(config: Config, doc: Document, zone: NgZone) {
export const appInitialize = (config: Config, doc: Document, zone: NgZone) => {
return (): any => {
const win: IonicWindow | undefined = doc.defaultView as any;
if (win) {
@ -36,4 +36,4 @@ export function appInitialize(config: Config, doc: Document, zone: NgZone) {
});
}
};
}
};