mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-18 12:33:17 +08:00
Fix #7131
This commit is contained in:
4
fs-extra/fs-extra.d.ts
vendored
4
fs-extra/fs-extra.d.ts
vendored
@@ -70,8 +70,8 @@ declare module "fs-extra" {
|
||||
export function readJSON(file: string, callback?: (err: Error) => void): void;
|
||||
export function readJSON(file: string, options?: OpenOptions, callback?: (err: Error) => void): void;
|
||||
|
||||
export function readJsonSync(file: string, options?: OpenOptions): void;
|
||||
export function readJSONSync(file: string, options?: OpenOptions): void;
|
||||
export function readJsonSync(file: string, options?: OpenOptions): any;
|
||||
export function readJSONSync(file: string, options?: OpenOptions): any;
|
||||
|
||||
export function remove(dir: string, callback?: (err: Error) => void): void;
|
||||
export function removeSync(dir: string): void;
|
||||
|
||||
Reference in New Issue
Block a user