Skip to content

Commit

Permalink
Merge pull request #547 from TheZwieback/patch-1
Browse files Browse the repository at this point in the history
Fixed IHeaders definition to accept plain strings in index.d.ts
  • Loading branch information
Nevon authored Nov 8, 2019
2 parents 34824cb + 8c9bdbf commit 1a894d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export type PartitionMetadata = {
}

export interface IHeaders {
[key: string]: Buffer
[key: string]: Buffer | string
}

export interface ConsumerConfig {
Expand Down

0 comments on commit 1a894d5

Please sign in to comment.