Skip to content

Commit

Permalink
type fix
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilianoSanchez committed Nov 16, 2021
1 parent fc15bf1 commit 55d5366
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ describe('Impressions Submitter for Lightweight Synchronizer', () => {
};
const _fakeLogger = { error: () => {} };

let observer: ImpressionObserver;
let observer: ImpressionObserver<string>;
let countsCache: ImpressionCountsCacheInMemory;
let _impressionsSubmiter: { (): any; (): Promise<string | boolean>; };

Expand Down
2 changes: 1 addition & 1 deletion src/submitters/synchronizerImpressionsSubmitter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const impressionWithMetadataToImpressionDTO = (storedImpression: StoredIm
export function impressionsSubmitterFactory(
postImpressionsBulk: IPostTestImpressionsBulk,
impressionsCache: IImpressionsCacheAsync,
observer: ImpressionObserver,
observer: ImpressionObserver<string>,
logger: ILogger,
impressionsPerPost?: number,
maxRetries?: number,
Expand Down
2 changes: 1 addition & 1 deletion src/synchronizers/ImpressionsSynchronizer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class ImpressionsSynchronizer {
constructor(
postImpressionsBulk: IPostTestImpressionsBulk,
impressionsStorage: IImpressionsCacheAsync,
observer: ImpressionObserver,
observer: ImpressionObserver<string>,
logger: ILogger,
impressionsPerPost?: number,
maxRetries?: number,
Expand Down

0 comments on commit 55d5366

Please sign in to comment.