diff --git a/.changeset/angry-needles-return.md b/.changeset/angry-needles-return.md new file mode 100644 index 0000000..1a2a4a8 --- /dev/null +++ b/.changeset/angry-needles-return.md @@ -0,0 +1,5 @@ +--- +"@octetstream/object-to-form-data": patch +--- + +Add missing deprecation annotation diff --git a/src/objectToFormData.ts b/src/objectToFormData.ts index 46797a1..9f5aeea 100644 --- a/src/objectToFormData.ts +++ b/src/objectToFormData.ts @@ -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