We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
1 parent 5e5db14 commit 72040d9Copy full SHA for 72040d9
packages/jest-types/src/Global.ts
@@ -67,7 +67,7 @@ export interface Describe extends DescribeBase {
67
}
68
69
// TODO: Maybe add `| Window` in the future?
70
-export interface Global extends NodeJS.Global {
+export interface GlobalAdditions {
71
it: ItConcurrent;
72
test: ItConcurrent;
73
fit: ItBase & {concurrent?: ItConcurrentBase};
@@ -82,5 +82,9 @@ export interface Global extends NodeJS.Global {
82
pending: () => void;
83
spyOn: () => void;
84
spyOnProperty: () => void;
85
+}
86
+export interface Global
87
+ extends GlobalAdditions,
88
+ Omit<NodeJS.Global, keyof GlobalAdditions> {
89
[extras: string]: any;
90
0 commit comments