File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,15 +12,15 @@ type ReadDirItem = {
12
12
mtime : Date | undefined // The last modified date of the file
13
13
name : string // The name of the item
14
14
path : string // The absolute path to the item
15
- size : string // Size in bytes
15
+ size : number // Size in bytes
16
16
isFile : ( ) => boolean // Is the file just a file?
17
17
isDirectory : ( ) => boolean // Is the file a directory?
18
18
}
19
19
20
20
type StatResult = {
21
21
name : string | undefined // The name of the item TODO: why is this not documented?
22
22
path : string // The absolute path to the item
23
- size : string // Size in bytes
23
+ size : number // Size in bytes
24
24
mode : number // UNIX file mode
25
25
ctime : number // Created date
26
26
mtime : number // Last modified date
You can’t perform that action at this time.
0 commit comments