Skip to content

Commit 066fdb0

Browse files
author
Glynn Bird
committed
add customer headers to typescript definition
1 parent 8dcfdd7 commit 066fdb0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/nano.d.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,10 @@ declare namespace nano {
105105
/** Set to false to prevent parsing of url
106106
* @see README: {@link https://www.npmjs.com/package/nano#configuration}
107107
*/
108-
parseUrl?: boolean;
108+
headers?: object;
109+
/** Custom request headers
110+
* @see README: {@link https://www.npmjs.com/package/nano#configuration}
111+
*/
109112
}
110113

111114
/** An error triggered by nano */

0 commit comments

Comments
 (0)