Skip to content

Commit 8d967f6

Browse files
committed
typings: fix headers key-value type
1 parent 6575100 commit 8d967f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export interface IApiConfig {
4040
version?: string
4141
alwaysUseGet?: boolean
4242
apiKey?: string
43-
headers?: Record<string, string>
43+
headers?: {[key: string]: string}
4444
}
4545
export type TFields = string | string[]
4646

0 commit comments

Comments
 (0)