react-native-blob-util
react-native-blob-util copied to clipboard
lstat returns size as a string instead of a number
Self explanatory but there are some type mismatches
-
please provide the version of installed library and RN project.
"react-native": "0.70.6", "react-native-blob-util": "^0.17.3"
-
a sample code snippet/repository is very helpful to spotting the problem.
const files = await fs.lstat('dir')
files.forEach(f => {
console.log(typeof f.size) // "string"
})
+1