Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.

Commit 229e5df

Browse files
Merge pull request #803 from telerik/milanov/remove-typings-using-rimraf
Use rimraf to remove tns-core-modules
2 parents 7e0a66e + 6b1d2b5 commit 229e5df

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

definitions/rimraf.d.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
declare module "rimraf" {
2-
function rmdir(path: string, callback: (error: Error) => void): void;
3-
function sync(path: string): void;
4-
export = rmdir;
5-
}
2+
function rimraf(path: string, callback: (error: Error) => void): void;
3+
namespace rimraf {
4+
export function sync(path: string): void;
5+
export var EMFILE_MAX: number;
6+
export var BUSYTRIES_MAX: number;
7+
}
8+
export = rimraf;
9+
}

0 commit comments

Comments
 (0)