getheader should return string not void
This commit is contained in:
parent
2823547804
commit
27998f719d
|
@ -113,7 +113,7 @@ export class Api extends EventEmitter {
|
|||
this.headers[name] = value
|
||||
}
|
||||
|
||||
private getHeader(name: string): void {
|
||||
private getHeader(name: string): string {
|
||||
return this.headers[name]
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue