Skip to content

Commit bab6b97

Browse files
committed
adjust exports
1 parent 1125af3 commit bab6b97

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

packages/jest-mock/src/index.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ type MockFunctionMetadataType =
1717
| 'null'
1818
| 'undefined';
1919

20-
export type MockFunctionMetadata<
20+
// TODO: bring this type export back once done with TS migration
21+
type MockFunctionMetadata<
2122
T,
2223
Y extends unknown[],
2324
Type = MockFunctionMetadataType
@@ -1091,6 +1092,7 @@ class ModuleMockerClass {
10911092
}
10921093
}
10931094

1094-
export type ModuleMocker = ModuleMockerClass;
1095+
// TODO: bring this type export back once done with TS migration
1096+
// export type ModuleMocker = ModuleMockerClass;
10951097

1096-
export default new ModuleMockerClass(global);
1098+
export = new ModuleMockerClass(global);

0 commit comments

Comments
 (0)