getheader should return string not void

This commit is contained in:
Viktor Sarström 2021-09-09 08:40:09 +02:00
parent 2823547804
commit 27998f719d
1 changed files with 1 additions and 1 deletions

View File

@ -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]
}