UNPKG

barrelsby

Version:

Automatic TypeScript barrels for your entire code base

11 lines (10 loc) 392 B
import { FileTreeLocation } from './location.interface'; /** A directory in the file tree. */ export interface Directory extends FileTreeLocation { /** The directories within the directory. */ directories: Directory[]; /** The files within the directory. */ files: FileTreeLocation[]; /** The barrel within the directory if one exists. */ barrel?: FileTreeLocation; }