export enum WorkerMessages { PROGRESS = 'progress', SUCCESS = 'success', START = 'start', UPLOAD = 'upload', CANCEL = 'cancel', ERROR = 'error', CONFIG = 'config' } export interface IConfig { worker?: boolean; sendFileContentType?: boolean; [key: string]: any; }