Skip to content

Commit

Permalink
Merge pull request #6 from evereq/master
Browse files Browse the repository at this point in the history
constants were removed from fs (in some versions)
  • Loading branch information
PS-davetemplin authored Oct 2, 2017
2 parents 9ebe287 + 04372d9 commit 5027168
Show file tree
Hide file tree
Showing 2 changed files with 133 additions and 2 deletions.
132 changes: 132 additions & 0 deletions index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ export {
Stats,
FSWatcher,
ReadStream,
WriteStream,
constants
WriteStream
} from 'fs';

export function access(path: string, mode?: number|string): Promise<void> { return thunk<void>(fs.access, arguments); }
Expand Down

0 comments on commit 5027168

Please sign in to comment.