Skip to content

Commit

Permalink
Add missing deprecation annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
octet-stream committed Aug 21, 2024
1 parent c86a6e7 commit c1ba524
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/angry-needles-return.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@octetstream/object-to-form-data": patch
---

Add missing deprecation annotation
2 changes: 2 additions & 0 deletions src/objectToFormData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ export interface ObjectToFormData {
*
* @param input - An object to transform
* @param strict - Indicates whether or not to omit every `false` values. Applied enabled. Does not affect boolean array values.
*
* @deprecated Use `objectToFormData` with options instead
*/
(input: Input, strict?: boolean): FormData

Expand Down

0 comments on commit c1ba524

Please sign in to comment.