Skip to content

Commit

Permalink
fixup types
Browse files Browse the repository at this point in the history
  • Loading branch information
camdencheek committed Jan 8, 2025
1 parent 682cf73 commit d63e0d3
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import {
CODE_SEARCH_PROVIDER_URI,
type ChatMessageWithSearch,
type NLSSearchDynamicFilter,
NLSSearchFileMatch,
type NLSSearchResult,
isDefined,
} from '@sourcegraph/cody-shared'
Expand Down Expand Up @@ -67,7 +66,7 @@ export const SearchResults = ({
const totalResults = useMemo(
() =>
message.search.response?.results.results.filter(
(result): result is NLSSearchFileMatch => result.__typename === 'FileMatch'
(result): result is NLSSearchResult => result.__typename === 'FileMatch'
) || [],
[message.search.response]
)
Expand Down

0 comments on commit d63e0d3

Please sign in to comment.