From 998ad06cd7aefbeebff7f9202e0e77bba6cc9ec2 Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Thu, 18 Nov 2021 12:43:31 +0530 Subject: [PATCH] Add type to container --- src/platform/web/Platform.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/platform/web/Platform.ts b/src/platform/web/Platform.ts index 3c15668e..2111ae1d 100644 --- a/src/platform/web/Platform.ts +++ b/src/platform/web/Platform.ts @@ -127,8 +127,9 @@ function adaptUIOnVisualViewportResize(container) { export class Platform { private readonly _config: IPlatformConfig; + private readonly _container: HTMLElement; - constructor(container, config: IPlatformConfig, cryptoExtras = null, options = null) { + constructor(container: HTMLElement, config: IPlatformConfig, cryptoExtras = null, options = null) { this._config = config; this._container = container; this.settingsStorage = new SettingsStorage("hydrogen_setting_v1_");