Merge pull request #3580 from reppners/fs-extra

+ added missing type definition of ensureDir() method
This commit is contained in:
Masahiro Wakame
2015-02-04 21:30:35 +09:00

View File

@@ -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;