mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 14:20:12 +00:00
Merge pull request #8790 from iDev0urer/fs-extra-promise
Added ensureDirSync
This commit is contained in:
3
fs-extra-promise/fs-extra-promise.d.ts
vendored
3
fs-extra-promise/fs-extra-promise.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user