mirror of
https://github.com/chrononeko/chronocat.git
synced 2024-11-25 09:37:35 +00:00
fix(shell): expect hoist pollution
This commit is contained in:
parent
6556b8b601
commit
a91e4bde19
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user