mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-22 18:21:39 +01:00
Fix type
This commit is contained in:
parent
2761789f45
commit
c26dc04b52
@ -24,7 +24,7 @@ export class ThemeLoader {
|
|||||||
this._platform = platform;
|
this._platform = platform;
|
||||||
}
|
}
|
||||||
|
|
||||||
async init(manifestLocations: Iterable<Record<string, string>>): Promise<void> {
|
async init(manifestLocations: string[]): Promise<void> {
|
||||||
for (const manifestLocation of manifestLocations) {
|
for (const manifestLocation of manifestLocations) {
|
||||||
const { body } = await this._platform
|
const { body } = await this._platform
|
||||||
.request(manifestLocation, {
|
.request(manifestLocation, {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user