refactor(platform): move to constants from enum, fix type definition

move to constants from enum, fix type definition
This commit is contained in:
Dan Bucholtz
2017-03-02 15:07:34 -06:00
parent 72c2b623e5
commit 15eaad6044
3 changed files with 11 additions and 14 deletions

View File

@ -796,7 +796,7 @@ export class Platform {
// add the window resize event listener XXms after
this.timeout(() => {
var timerId: number;
var timerId: any;
this.registerListener(this._win, 'resize', () => {
clearTimeout(timerId);