Skip to content

Commit

Permalink
feat: reintroduce contain methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Lee committed Sep 16, 2021
1 parent c0ddde1 commit 94ca9fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export class Index {
updateAsync(id: any, o: string): Promise<this>;
remove(id: any): this;
removeAsync(id: any): this;
contain(id: any): boolean;
clear(): this;
destroy(): this;
addMatcher(matcher: Matcher): this;
Expand All @@ -49,6 +50,7 @@ export class Document<T> {
query: string,
options?: SearchOptions
): Promise<any> // The shape of the resulting object can vary widely,
contain(id: any): boolean;

// TODO add async methods
// TODO add more methods
Expand Down

0 comments on commit 94ca9fe

Please sign in to comment.