mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +08:00
refactor(platform): move to constants from enum, fix type definition
move to constants from enum, fix type definition
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user