Skip to content

Commit eb64133

Browse files
committedSep 23, 2020
made headers properly optional (thanks @TcM1911)
1 parent 86823ca commit eb64133

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎otohttp/templates/client.ts.plush

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export class Client {
1313
public basepath: String = '/oto/'
1414
// headers allows calling code to mutate the HTTP
1515
// headers of the underlying HTTP requests.
16-
public headers: HeadersFunc
16+
public headers?: HeadersFunc
1717
}
1818

1919
<%= for (service) in def.Services { %>

0 commit comments

Comments
 (0)
Please sign in to comment.