diff --git a/packages/core/src/common/utils/mime-type.ts b/packages/core/src/common/utils/mime-type.ts index d640bc9ef..5b3133920 100644 --- a/packages/core/src/common/utils/mime-type.ts +++ b/packages/core/src/common/utils/mime-type.ts @@ -4,7 +4,7 @@ import { MimeTypeUtils } from './mime-type-util'; export class MimeType { private static readonly WILDCARD_TYPE = '*'; private static readonly PARAM_CHARSET = 'charset'; - private static TOKEN: Set; + private static TOKEN: Set = new Set(); private readonly type: string; private readonly subtype: string;