Skip to content

Commit 57e1bf7

Browse files
committed
refactor(): global typings corrected
1 parent 27dc864 commit 57e1bf7

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

src/typings.d.ts

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
1-
import Global = NodeJS.Global;
1+
export {};
22

3-
declare var global: Global & {
4-
GLOBAL_OPTIONS: {
5-
outputPath: string;
6-
splitPathTags: string[];
7-
skipModuleExport: boolean;
8-
skipGuards: boolean;
9-
sourceFile: string;
10-
};
11-
};
3+
declare global {
4+
namespace NodeJS {
5+
interface Global {
6+
GLOBAL_OPTIONS: {
7+
outputPath: string;
8+
splitPathTags: string[];
9+
skipModuleExport: boolean;
10+
skipGuards: boolean;
11+
sourceFile: string;
12+
};
13+
}
14+
}
15+
}

0 commit comments

Comments
 (0)