Skip to content

Commit

Permalink
Merge pull request #206 from zkochan/patch-2
Browse files Browse the repository at this point in the history
fix: don't export types from deps
  • Loading branch information
mrmlnc authored Jun 17, 2019
2 parents 03201ed + 66a4a29 commit c01dad2
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions src/types/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import * as fsWalk from '@nodelib/fs.walk';

import * as micromatch from 'micromatch';

export type ErrnoException = NodeJS.ErrnoException;

export type Entry = fsWalk.Entry;
Expand All @@ -24,8 +22,15 @@ export type ErrorFilterFunction = fsWalk.ErrorFilterFunction;
export type EntryFilterFunction = fsWalk.EntryFilterFunction;
export type DeepFilterFunction = fsWalk.DeepFilterFunction;
export type EntryTransformerFunction = (entry: Entry) => EntryItem;
export type MicromatchOptions = micromatch.Options & {

export interface MicromatchOptions {
dot?: boolean;
matchBase?: boolean;
nobrace?: boolean;
nocase?: boolean;
noext?: boolean;
noglobstar?: boolean;
posix?: boolean;
};
}

export type FileSystemAdapter = fsWalk.FileSystemAdapter;

0 comments on commit c01dad2

Please sign in to comment.