forked from mystiq/hydrogen-web
Add typing
This commit is contained in:
parent
d4084da299
commit
bbec2effe5
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ export class ThemeLoader {
|
|||
}
|
||||
}
|
||||
|
||||
private _findThemeLocationFromId(themeId: string) {
|
||||
private _findThemeLocationFromId(themeId: string): string | undefined {
|
||||
for (const themeData of Object.values(this._themeMapping)) {
|
||||
if ("id" in themeData && themeData.id === themeId) {
|
||||
return themeData.cssLocation;
|
||||
|
|
Loading…
Reference in a new issue