mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-26 20:21:40 +01:00
Add type to container
This commit is contained in:
parent
e6e20044c8
commit
998ad06cd7
@ -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_");
|
||||
|
Loading…
x
Reference in New Issue
Block a user