From 419ebf3d5157c8871d800715b84947db7832a258 Mon Sep 17 00:00:00 2001 From: sianida26 Date: Fri, 1 Mar 2024 21:02:59 +0700 Subject: [PATCH] Added content type --- src/types/ContentType.d.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/types/ContentType.d.ts diff --git a/src/types/ContentType.d.ts b/src/types/ContentType.d.ts new file mode 100644 index 0000000..ab7d82a --- /dev/null +++ b/src/types/ContentType.d.ts @@ -0,0 +1,14 @@ +type ContentType = + | "application/json" + | "application/x-www-form-urlencoded" + | "multipart/form-data" + | "text/plain" + | "text/html" + | "application/xml" + | "text/xml" + | "application/pdf" + | "image/jpeg" + | "image/png" + | "image/gif"; + +export default ContentType;