Add typing

This commit is contained in:
RMidhunSuresh 2022-05-27 14:24:19 +05:30
parent d4084da299
commit bbec2effe5

View file

@ -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;