UNPKG

css-module-flow-loader

Version:
24 lines (18 loc) 637 B
// @flow declare module 'recursive-readdir' { declare type FileStatsType = { isDirectory: () => boolean, }; declare type ReadDirRecursiveExcludeType = (pathToFile: string, stats: FileStatsType) => boolean; /* declare export default function readDirRecursive( pathToFolder: string, exclude: Array<ReadDirRecursiveExcludeType>, ): Promise<Array<string>>; */ declare function readDirRecursive( pathToFolder: string, exclude: Array<ReadDirRecursiveExcludeType>, ): Promise<Array<string>>; declare module.exports: typeof readDirRecursive; }