Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
bhargeymehta committed Sep 9, 2024
1 parent 10f5532 commit 726aa2a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/InMemoryProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@ export interface StoreData {

export interface ILiveConsumerConfigs {
usePushForGetRange: boolean;
};
}

export type GetLiveConsumerConfigsFn = () => ILiveConsumerConfigs;

const defaultLiveConsumerConfigs: ILiveConsumerConfigs = {
usePushForGetRange: false
usePushForGetRange: false,
};

export class InMemoryProvider extends DbProvider {
Expand Down Expand Up @@ -765,7 +765,7 @@ class InMemoryIndex extends DbIndexFTSFromRangeQueries {
let values = [] as ItemType[];
const { usePushForGetRange } = this.getLiveConfigs();
const pushValues = (values: ItemType[], newValues: ItemType[]) => {
newValues.forEach(v => values.push(v));
newValues.forEach((v) => values.push(v));
return values;
};
const concatValues = (values: ItemType[], newValues: ItemType[]) => {
Expand Down

0 comments on commit 726aa2a

Please sign in to comment.