mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 14:27:04 +00:00
Revert "refactor(fs-extra): remove redundant types"
This reverts commit 3a344fb28e.
This commit is contained in:
Vendored
+5
-1
@@ -258,6 +258,10 @@ export interface PathEntryStream {
|
||||
read(): PathEntry | null;
|
||||
}
|
||||
|
||||
export type CopyFilterFunction = (src: string) => boolean;
|
||||
|
||||
export type CopyFilter = CopyFilterFunction | RegExp;
|
||||
|
||||
export type SymlinkType = "dir" | "file";
|
||||
|
||||
export interface CopyOptions {
|
||||
@@ -265,7 +269,7 @@ export interface CopyOptions {
|
||||
overwrite?: boolean;
|
||||
preserveTimestamps?: boolean;
|
||||
errorOnExist?: boolean;
|
||||
filter?: ((src: string) => boolean) | RegExp;
|
||||
filter?: CopyFilter;
|
||||
recursive?: boolean;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user