Skip to content

Commit d9f4c28

Browse files
committed
fix: cast headers to Headers type in Client class
1 parent a22eecf commit d9f4c28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ export class Client {
248248
headers: new Headers({
249249
...(option.headers ?? {}),
250250
...(option.label ? { [WORKFLOW_LABEL_HEADER]: option.label } : {}),
251-
}),
251+
}) as Headers,
252252
initialPayload: option.body,
253253
steps: [],
254254
url: option.url,

0 commit comments

Comments
 (0)