We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6b22f62 + 136bf28 commit 82b339fCopy full SHA for 82b339f
index.d.ts
@@ -12,15 +12,15 @@ type ReadDirItem = {
12
mtime: Date | undefined // The last modified date of the file
13
name: string // The name of the item
14
path: string // The absolute path to the item
15
- size: string // Size in bytes
+ size: number // Size in bytes
16
isFile: () => boolean // Is the file just a file?
17
isDirectory: () => boolean // Is the file a directory?
18
}
19
20
type StatResult = {
21
name: string | undefined // The name of the item TODO: why is this not documented?
22
23
24
mode: number // UNIX file mode
25
ctime: number // Created date
26
mtime: number // Last modified date
0 commit comments