@codemod-utils/files
Version:
Utilities for handling files
13 lines (12 loc) • 354 B
TypeScript
type FileContent = string;
type FileMap = Map<FilePath, FileContent>;
type FilePath = string;
type FilePathMap = Map<FilePath, FilePath>;
type Options = Record<string, unknown>;
type ParsedPath = {
base: string;
dir: string;
ext: string;
name: string;
};
export type { FileContent, FileMap, FilePath, FilePathMap, Options, ParsedPath, };