File tree Expand file tree Collapse file tree
src/vs/workbench/services/themes/electron-browser Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ export class ColorThemeStore {
155155 } ) ;
156156 }
157157
158- public findThemeDataByParentLocation ( parentLocation : URI ) : Promise < ColorThemeData [ ] > {
158+ public findThemeDataByParentLocation ( parentLocation : URI | undefined ) : Promise < ColorThemeData [ ] > {
159159 if ( parentLocation ) {
160160 return this . getColorThemes ( ) . then ( allThemes => {
161161 return allThemes . filter ( t => t . location && resources . isEqualOrParent ( t . location , parentLocation ) ) ;
Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ export class FileIconThemeStore {
154154 } ) ;
155155 }
156156
157- public findThemeDataByParentLocation ( parentLocation : URI ) : any {
157+ public findThemeDataByParentLocation ( parentLocation : URI | undefined ) : any {
158158 if ( parentLocation ) {
159159 return this . getFileIconThemes ( ) . then ( allThemes => {
160160 return allThemes . filter ( t => t . location && resources . isEqualOrParent ( t . location , parentLocation ) ) ;
You can’t perform that action at this time.
0 commit comments