You've already forked pigallery2
mirror of
https://github.com/bpatrik/pigallery2.git
synced 2025-12-24 00:31:56 +02:00
improving types
This commit is contained in:
@@ -192,7 +192,7 @@ export class SearchManager implements ISearchManager {
|
||||
}
|
||||
|
||||
private encapsulateAutoComplete(values: string[], type: SearchTypes): Array<AutoCompleteItem> {
|
||||
const res = [];
|
||||
const res: AutoCompleteItem[] = [];
|
||||
values.forEach((value) => {
|
||||
res.push(new AutoCompleteItem(value, type));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user