Skip to content

Commit

Permalink
Update index.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
krystianity committed Oct 16, 2018
1 parent af2f8c7 commit 79cb47a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Expand Up @@ -316,7 +316,7 @@ declare module "sinek" {
pause(): void;
resume(): void;
getStats(): object;
close(commit: boolean): object;
close(commit?: boolean): object;
}

export class Producer {
Expand All @@ -333,7 +333,7 @@ declare module "sinek" {
resume(): void;
getStats(): object;
refreshMetadata(topics: Array<string>): void;
close(commit: boolean): object;
close(): object;
}

export class Kafka {
Expand Down

0 comments on commit 79cb47a

Please sign in to comment.