Skip to content

Commit

Permalink
Merge pull request DefinitelyTyped#8790 from iDev0urer/fs-extra-promise
Browse files Browse the repository at this point in the history
Added ensureDirSync
  • Loading branch information
horiuchi committed Mar 31, 2016
2 parents 076815d + a44332a commit e937b3e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fs-extra-promise/fs-extra-promise.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e937b3e

Please sign in to comment.