templates-mo
Version:
Templates is a scaffolding framework that makes code generation simple, dynamic, and reusable. Generate files, parts of your app, or whole project structures—without the repetitive copy-pasting
11 lines (10 loc) • 357 B
TypeScript
import FileSystemNode from './fileSystemNode';
export declare class FileNode extends FileSystemNode {
fileName: string;
ext: string;
constructor(name: any, parentDirectory: any, verbose?: boolean);
_getFileData(): Buffer;
addChild<TValue extends FileSystemNode>(_: TValue): TValue;
hasChildren(): boolean;
}
export default FileNode;