mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-22 20:37:58 +08:00
Merge pull request #3580 from reppners/fs-extra
+ added missing type definition of ensureDir() method
This commit is contained in:
1
fs-extra/fs-extra.d.ts
vendored
1
fs-extra/fs-extra.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user