Skip to content

Commit

Permalink
Merge pull request #1165 from hailwood/patch-2
Browse files Browse the repository at this point in the history
Add `undefined` as a valid option FormDataConvertable
  • Loading branch information
reinink authored Jun 27, 2022
2 parents 44e9b68 + ed87b2a commit 271ea2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/inertia/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { AxiosResponse, CancelTokenSource } from 'axios'
export type Errors = Record<string, string>
export type ErrorBag = Record<string, Errors>

export type FormDataConvertible = Array<FormDataConvertible>|Blob|FormDataEntryValue|Date|boolean|number|null
export type FormDataConvertible = Array<FormDataConvertible>|Blob|FormDataEntryValue|Date|boolean|number|null|undefined

export enum Method {
GET = 'get',
Expand Down

0 comments on commit 271ea2a

Please sign in to comment.