nestjs / azure-storage

Azure Storage module for Nest framework (node.js) ☁️
https://nestjs.com
MIT License
87 stars 35 forks source link

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

Open itseramin opened 3 years ago

itseramin commented 3 years ago

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:
-