@typed/content-hash
Version:
Content hash a directory of HTML/JS/CSS files and other static assets
15 lines • 650 B
TypeScript
import { Env, RequirementsOf } from '@typed/fp/Env';
import { Option } from 'fp-ts/Option';
import { Document } from '../../domain/model';
import { LoggerEnv } from './logging';
/**
* Read a filePath, including its dependencies. A None should be returned if the file path is not currently supported
*/
export declare const readFilePath: {
(filePath: string): Env<LoggerEnv & {
readonly readFilePath: (filePath: string) => Env<LoggerEnv, Option<Document>>;
}, Option<Document>>;
readonly key: "readFilePath";
};
export declare type ReadFilePathEnv = RequirementsOf<typeof readFilePath>;
//# sourceMappingURL=readFilePath.d.ts.map