Skip to content

Change UploadedFileMetaData interface's size property to number from string type. #250

Open
@itseramin

Description

@itseramin

Title^


[ ] Regression 
[] Bug report
[x] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.

Current behavior

String type.

Expected behavior

Number type.

Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

So i could use discriminating union in my storage module, because Express.Multer.File interface has it as a number property.

Environment


Nest version: 8.1.2
 
For Tooling issues:
- Node version: v14.18.1
- Platform:  MacOS Monterey 12.0.1

Others:
-

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions