Skip to content

Commit

Permalink
exported SearchCallback type (#327)
Browse files Browse the repository at this point in the history
fixes #326

Co-authored-by: Philip Molares <[email protected]>
  • Loading branch information
Philip Molares and Philip Molares authored Aug 10, 2020
1 parent 0e93813 commit 4b26e1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/textcomplete-core/src/Strategy.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { SearchResult } from "./SearchResult"

type SearchCallback<T> = (results: T[]) => void
export type SearchCallback<T> = (results: T[]) => void
type ReplaceResult = [string, string] | string | null

export interface StrategyProps<T = unknown> {
Expand Down

0 comments on commit 4b26e1e

Please sign in to comment.