forked from mystiq/hydrogen-web
Add type to container
This commit is contained in:
parent
e6e20044c8
commit
998ad06cd7
1 changed files with 2 additions and 1 deletions
|
@ -127,8 +127,9 @@ function adaptUIOnVisualViewportResize(container) {
|
||||||
|
|
||||||
export class Platform {
|
export class Platform {
|
||||||
private readonly _config: IPlatformConfig;
|
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._config = config;
|
||||||
this._container = container;
|
this._container = container;
|
||||||
this.settingsStorage = new SettingsStorage("hydrogen_setting_v1_");
|
this.settingsStorage = new SettingsStorage("hydrogen_setting_v1_");
|
||||||
|
|
Loading…
Reference in a new issue