mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
+ added missing type definition of ensureDir() method
This commit is contained in:
parent
7bab855ae3
commit
165746e355
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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user