narraleaf
Version:
Create your visual novel with Electron and React
12 lines (11 loc) • 320 B
TypeScript
export type FileTree = {
type: "file";
name: string;
srcName?: string;
} | {
type: "dir";
name: string;
children: FileTree[];
};
export declare function getFileTree(header: string, fileTree: FileTree[], failedEntities: string[]): string;
export declare function normalizePath(p: string): string;