From a44332a250f703db51a79b2befd635ca9f38b15c Mon Sep 17 00:00:00 2001 From: Chris Watson Date: Wed, 30 Mar 2016 20:47:41 -0700 Subject: [PATCH] Added ensureDirSync --- fs-extra-promise/fs-extra-promise.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs-extra-promise/fs-extra-promise.d.ts b/fs-extra-promise/fs-extra-promise.d.ts index 77de929345..2243a4d1c5 100644 --- a/fs-extra-promise/fs-extra-promise.d.ts +++ b/fs-extra-promise/fs-extra-promise.d.ts @@ -166,7 +166,8 @@ declare module "fs-extra-promise" { 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 function ensureDir(path: string, cb: (err: Error) => void): void; + export function ensureDirSync(path: string): void; export interface OpenOptions { encoding?: string;