Skip to content

Commit

Permalink
export FSO
Browse files Browse the repository at this point in the history
  • Loading branch information
Narazaka committed Jan 6, 2020
1 parent bca28fa commit eaf46c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/fso.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,8 @@ export class FileSystemObject {
filteredChildrenAllSync(excepts?: string[] | ((path: FileSystemObject) => boolean)): FileSystemObject[];
}

export const FSO: typeof FileSystemObject;

declare const fso: FileSystemObject;

/** fso - fs operation with the path, like Pathname(Ruby) */
Expand Down
1 change: 1 addition & 0 deletions src/lib/fso.js
Original file line number Diff line number Diff line change
Expand Up @@ -594,4 +594,5 @@ module.exports = {
__esModule: true,
default: new FileSystemObject(process.cwd()),
FileSystemObject,
FSO: FileSystemObject,
};

0 comments on commit eaf46c0

Please sign in to comment.