Removed unnecessary cast in fuse search service
This commit is contained in:
parent
220a071ecc
commit
492582898f
@ -26,7 +26,7 @@ export class FuseSearchService<T> implements SearchService<T> {
|
||||
// const fuse = new Fuse<T, Fuse.FuseOptions<any>>(list, this._params);
|
||||
this._fuse.setCollection(list);
|
||||
// fuse.search(searchTerm);
|
||||
return this._fuse.search(searchTerm) as T[];
|
||||
return this._fuse.search(searchTerm);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user