BigIntStats
not actually exported from fs
.
#51674
Labels
fs
Issues and PRs related to the fs subsystem / file system.
BigIntStats
not actually exported from fs
.
#51674
Version
v21.4.0
Platform
Darwin chug.lan 22.6.0 Darwin Kernel Version 22.6.0: Tue Nov 7 21:42:27 PST 2023; root:xnu-8796.141.3.702.9~2/RELEASE_ARM64_T8103 arm64
Subsystem
fs
What steps will reproduce the bug?
Shell command:
node -e 'console.log(fs.BigIntStats)'
How often does it reproduce? Is there a required condition?
Always reproduces.
What is the expected behavior? Why is that the expected behavior?
I would expect this to output the usual representation of a class / constructor named
BigIntStats
, which is a class named in the documentation for thefs
module, e.g. at https://nodejs.org/docs/latest/api/fs.html#class-fsstats under "bigint
version."(What I actually want to do is stuff like
if (stats instanceof fs.BigIntStats) ...
.)What do you see instead?
Additional information
Compare to:
The text was updated successfully, but these errors were encountered: