UNPKG

435 BTypeScriptView Raw
1/** Array of paths that are invalid */
2export type Paths = string[];
3/** Whether or not the directory was valid */
4export type ValidateResult = [valid: false, invalidRelativePaths: Paths, relativePaths: Paths] | [valid: true, invalidRelativePaths: [], relativePaths: Paths];
5/** Validate a directory and its descendants */
6export default function validate(fullPath: string): Promise<ValidateResult>;
7//# sourceMappingURL=index.d.ts.map
\No newline at end of file