Skip to content

Commit

Permalink
feat: fetcher body에 FormData 추가 (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
yeonddori authored Mar 20, 2024
1 parent 8d36a51 commit a9bf11b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/api/fetcher.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
type AllowObjectBodyRequestInit = Omit<RequestInit, 'body'> & { body?: RequestInit['body'] | object };
type AllowObjectBodyRequestInit = Omit<RequestInit, 'body'> & { body?: RequestInit['body'] | object | FormData };

export type FetchProps = [string, AllowObjectBodyRequestInit?];

Expand Down

0 comments on commit a9bf11b

Please sign in to comment.