frontend-plugin-api: swtich IconApi.listIconKeys to return an array direcly instead

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2024-01-18 17:32:48 +01:00
parent 1fa5041091
commit d2e576d55a
5 changed files with 7 additions and 11 deletions
+1 -3
View File
@@ -981,9 +981,7 @@ export interface IconsApi {
// (undocumented)
getIcon(key: string): IconComponent | undefined;
// (undocumented)
listIconKeys(): {
keys: Iterable<string>;
};
listIconKeys(): string[];
}
// @public
@@ -25,7 +25,7 @@ import { IconComponent } from '../../icons';
export interface IconsApi {
getIcon(key: string): IconComponent | undefined;
listIconKeys(): { keys: Iterable<string> };
listIconKeys(): string[];
}
/**