From 165746e355b5c9cfe0cd6cec8ae789a31aced625 Mon Sep 17 00:00:00 2001 From: reppners Date: Mon, 2 Feb 2015 11:54:17 +0100 Subject: [PATCH] + added missing type definition of ensureDir() method --- fs-extra/fs-extra.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/fs-extra/fs-extra.d.ts b/fs-extra/fs-extra.d.ts index 3d1af12ac3..5b1ecf0b99 100644 --- a/fs-extra/fs-extra.d.ts +++ b/fs-extra/fs-extra.d.ts @@ -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;