mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
8 lines
223 B
TypeScript
8 lines
223 B
TypeScript
import readdirRecursive = require("fs-readdir-recursive");
|
|
|
|
const unfilteredPaths: string[] = readdirRecursive("path");
|
|
const filteredPaths: string[] = readdirRecursive(
|
|
"path",
|
|
(path: string) => path[0] !== "."
|
|
);
|