Skip to content

Commit

Permalink
fix: Adds missing headers type to the PluginInput request
Browse files Browse the repository at this point in the history
Fixes #13
  • Loading branch information
jakobo committed Nov 25, 2024
1 parent 2a4f1aa commit fff756f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/mighty-readers-hammer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@taskless/loader": patch
---

Fixes the `PluginInput` typings, adding a present but undocumented `headers` collection
1 change: 1 addition & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ export type PluginInput<
path: string;
url: string;
method: string;
headers?: Array<[string, string]>;
body?: TRequestBody;
};
response?: {
Expand Down

0 comments on commit fff756f

Please sign in to comment.