Type alias DirNode<T>

DirNode<T>: {
    get $exists(): boolean;
    get $fs(): FSMethods;
    get $list(): (() => string[]);
    get $path(): string;
    get $remove(): (() => void);
} & { [ K in keyof TypeOf<T>]: IsDir<SubSchema<T, K>> extends true ? Node<SubSchema<T, K>> : FileNode<TypeOf<SubSchema<T, K>>> }

Type Parameters

Generated using TypeDoc