+ added missing type definition of ensureDir() method

This commit is contained in:
reppners 2015-02-02 11:54:17 +01:00
parent 7bab855ae3
commit 165746e355

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;