Skip to content

Commit

Permalink
doc: Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Apr 7, 2022
1 parent f30a9bc commit f79ea75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ export interface RecursiveReaddirFilesOptions {
## Result

```ts
export interface IFileDirStat {
import fs from 'node:fs';
export interface IFileDirStat extends Partial<fs.Stats> {
/**
* @example `/a/sum.jpg` => `sum.jpg`
*/
Expand All @@ -84,7 +85,6 @@ export interface IFileDirStat {
* @example `/a/b.jpg` => `jpg`
*/
ext?: string;
size?: number;
}
export default function recursiveReaddirFiles(rootPath: string, options?: RecursiveReaddirFilesOptions): Promise<IFileDirStat[]>;
export { recursiveReaddirFiles };
Expand Down

0 comments on commit f79ea75

Please sign in to comment.