react-native-blob-util icon indicating copy to clipboard operation
react-native-blob-util copied to clipboard

lstat returns size as a string instead of a number

Open Sid-Turner-Ellis opened this issue 1 year ago • 1 comments

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"
})

Sid-Turner-Ellis avatar Jun 12 '23 05:06 Sid-Turner-Ellis

+1

antoarva avatar Jul 08 '24 14:07 antoarva