diff --git a/packages/shell/src/services/mime.ts b/packages/shell/src/services/mime.ts index 4fcd625..967e09d 100644 --- a/packages/shell/src/services/mime.ts +++ b/packages/shell/src/services/mime.ts @@ -1,5 +1,7 @@ -// Should be 'mime/lite' but there's hoist pollution -import { Mime } from 'mime/dist/src/index_lite' +// @ts-expect-error +// There's a hoist pollution (@types/mime). see +// https://github.com/Microsoft/TypeScript/issues/11917 +import { Mime } from 'mime/lite' import mimeStandard from 'mime/types/standard.js' export const mime = new Mime().define(mimeStandard).define({