UNPKG
@nodelib/fs.macchiato
Version:
latest (3.0.0)
3.0.0
2.0.0
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
A set of classes for easy testing of built-in structures of FS
@nodelib/fs.macchiato
/
out
/
dirent.d.ts
15 lines
(14 loc)
•
289 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import
*
as
fs
from
'node:fs'
;
export
declare
enum
DirentType
{
Unknown
=
0
,
File
=
1
,
Directory
=
2
,
Link
=
3
,
Fifo
=
4
,
Socket
=
5
,
Char
=
6
,
Block
=
7
}
export
declare
class
Dirent
extends
fs.Dirent
{
constructor
(
name
?:
string
,
type
?:
DirentType
); }