From b22c540d20a459ad1b00979be2bd82be90aeb3a4 Mon Sep 17 00:00:00 2001 From: Simonas Karuzas Date: Fri, 10 Jul 2020 10:59:11 +0300 Subject: [PATCH] fix: Daf REST headers type --- packages/daf-rest/src/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/daf-rest/src/client.ts b/packages/daf-rest/src/client.ts index 4a6ad1aab..9ede64869 100644 --- a/packages/daf-rest/src/client.ts +++ b/packages/daf-rest/src/client.ts @@ -9,7 +9,7 @@ export class AgentRestClient implements IAgentPlugin { constructor(options: { url: string enabledMethods: string[] - headers?: Response['headers'] + headers?: Record overrides?: Record }) { this.url = options.url