Skip to content

Commit

Permalink
Expose the File type
Browse files Browse the repository at this point in the history
  • Loading branch information
devfresher committed Mar 20, 2024
1 parent 7aed376 commit e99831b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

import { FileWizardry } from '@src/file-wizardry';
import { UploadOptions, mimeTypes, storage } from '@src/interfaces';
import { UploadOptions, mimeTypes, storage, File } from '@src/interfaces';

export { FileWizardry, mimeTypes, storage };
export type { UploadOptions };
export type { UploadOptions, File };
2 changes: 2 additions & 0 deletions src/interfaces/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,5 @@ export interface UploadOptions {
*/
multiFile?: boolean;
}

export interface File extends Express.Multer.File {}

0 comments on commit e99831b

Please sign in to comment.