mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-26 19:04:13 +08:00
Merge pull request #8311 from CRogers/patch-1
wrench: Remove 'function' typo
This commit is contained in:
@@ -17,7 +17,7 @@ wrench.copyDirSyncRecursive(str, str, {
|
||||
});
|
||||
wrench.chmodSyncRecursive(str, num);
|
||||
wrench.chownSyncRecursive(str, num, num);
|
||||
wrench.mkdirSyncRecursivefunction(str, num);
|
||||
wrench.mkdirSyncRecursive(str, num);
|
||||
wrench.readdirRecursive(str, (err: Error, files: string[]) => {
|
||||
|
||||
});
|
||||
|
||||
2
wrench/wrench.d.ts
vendored
2
wrench/wrench.d.ts
vendored
@@ -11,7 +11,7 @@ declare module "wrench" {
|
||||
export function copyDirSyncRecursive(sourceDir: string, newDirLocation: string, opts?: { preserve?: boolean; }): void;
|
||||
export function chmodSyncRecursive(sourceDir: string, filemode: number): void;
|
||||
export function chownSyncRecursive(sourceDir: string, uid: number, gid: number): void;
|
||||
export function mkdirSyncRecursivefunction(path: string, mode: number): void;
|
||||
export function mkdirSyncRecursive(path: string, mode: number): void;
|
||||
|
||||
export function readdirRecursive(baseDir: string, fn: (err: Error, files: string[]) => void): void;
|
||||
export function rmdirRecursive(path: string, fn: (err: Error) => void): void;
|
||||
|
||||
Reference in New Issue
Block a user