Skip to content

Commit

Permalink
Fix type issue in Search
Browse files Browse the repository at this point in the history
Signed-off-by: worksofliam <[email protected]>
  • Loading branch information
worksofliam committed Oct 10, 2024
1 parent 32e4566 commit f7da821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/Search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export namespace Search {

} else {
// Else, we need to fetch the member info for each hit so we can display the correct extension
const infoComponent = connection?.getComponent<GetMemberInfo>(`GetMemberInfo`);
const infoComponent = connection?.getComponent<GetMemberInfo>(GetMemberInfo);
const memberInfos: IBMiMember[] = hits.map(hit => {
const { name, dir } = path.parse(hit.path);
const [library, file] = dir.split(`/`);
Expand Down

0 comments on commit f7da821

Please sign in to comment.