From 056480524032a5a32d8119dcad1c1e4984b79d2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gromit=20=28=EC=A0=84=EB=AF=BC=EC=9E=AC=29?= <64779472+ssi02014@users.noreply.github.com> Date: Thu, 16 Jan 2025 03:39:15 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20typecheck=20=EC=88=98=EC=A0=95=20(#691)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/utils/src/validator/isMIMEType/index.ts | 2 +- packages/utils/src/validator/isMIMEType/isMIMEType.spec.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/utils/src/validator/isMIMEType/index.ts b/packages/utils/src/validator/isMIMEType/index.ts index 57b7c1522..89adfa90f 100644 --- a/packages/utils/src/validator/isMIMEType/index.ts +++ b/packages/utils/src/validator/isMIMEType/index.ts @@ -1,6 +1,6 @@ import { isString } from '../isString'; -export const MIME_TYPES = [ +const MIME_TYPES = [ 'application/json', 'application/javascript', 'application/pdf', diff --git a/packages/utils/src/validator/isMIMEType/isMIMEType.spec.ts b/packages/utils/src/validator/isMIMEType/isMIMEType.spec.ts index 4f1d2240a..93f4b6b87 100644 --- a/packages/utils/src/validator/isMIMEType/isMIMEType.spec.ts +++ b/packages/utils/src/validator/isMIMEType/isMIMEType.spec.ts @@ -1,6 +1,5 @@ import { describe, it, expect, expectTypeOf } from 'vitest'; -import { isMIMEType } from '.'; -import { MIMEType } from '../../file/constants'; +import { isMIMEType, MIMEType } from '.'; describe('isMIMEType', () => { it('should return true if the argument is a MIMEType and false otherwise', () => {