Skip to content

Commit

Permalink
fix: export DirectoryJSON from index
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Feb 16, 2020
1 parent 2606844 commit c447a6c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
import Stats from './Stats';
import Dirent from './Dirent';
import { Volume as _Volume, StatWatcher, FSWatcher, toUnixTimestamp, IReadStream, IWriteStream } from './volume';
import {
Volume as _Volume,
StatWatcher,
FSWatcher,
toUnixTimestamp,
IReadStream,
IWriteStream,
DirectoryJSON,
} from './volume';
import { IPromisesAPI } from './promises';
const { fsSyncMethods, fsAsyncMethods } = require('fs-monkey/lib/util/lists');
import { constants } from './constants';
const { F_OK, R_OK, W_OK, X_OK } = constants;

export { DirectoryJSON };
export const Volume = _Volume;

// Default volume.
Expand Down

0 comments on commit c447a6c

Please sign in to comment.