mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Merge pull request #3580 from reppners/fs-extra
+ added missing type definition of ensureDir() method
This commit is contained in:
Vendored
+1
@@ -164,6 +164,7 @@ declare module "fs-extra" {
|
||||
export function watch(filename: string, options?: { persistent?: boolean; }, listener?: (event: string, filename: string) => any): FSWatcher;
|
||||
export function exists(path: string, callback?: (exists: boolean) => void ): void;
|
||||
export function existsSync(path: string): boolean;
|
||||
export function ensureDir(path: string, cb: (err: Error) => void): void;
|
||||
|
||||
export interface OpenOptions {
|
||||
encoding?: string;
|
||||
|
||||
Reference in New Issue
Block a user