Skip to content

Commit

Permalink
fix: typecheck 수정 (#691)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssi02014 authored Jan 15, 2025
1 parent 360e4a4 commit 0564805
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/utils/src/validator/isMIMEType/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { isString } from '../isString';

export const MIME_TYPES = [
const MIME_TYPES = [
'application/json',
'application/javascript',
'application/pdf',
Expand Down
3 changes: 1 addition & 2 deletions packages/utils/src/validator/isMIMEType/isMIMEType.spec.ts
Original file line number Diff line number Diff line change
@@ -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', () => {
Expand Down

0 comments on commit 0564805

Please sign in to comment.