Skip to content

Commit

Permalink
adjust exports
Browse files Browse the repository at this point in the history
  • Loading branch information
thymikee committed Feb 10, 2019
1 parent 1125af3 commit bab6b97
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions packages/jest-mock/src/index.ts
Expand Up @@ -17,7 +17,8 @@ type MockFunctionMetadataType =
| 'null'
| 'undefined';

export type MockFunctionMetadata<
// TODO: bring this type export back once done with TS migration
type MockFunctionMetadata<
T,
Y extends unknown[],
Type = MockFunctionMetadataType
Expand Down Expand Up @@ -1091,6 +1092,7 @@ class ModuleMockerClass {
}
}

export type ModuleMocker = ModuleMockerClass;
// TODO: bring this type export back once done with TS migration
// export type ModuleMocker = ModuleMockerClass;

export default new ModuleMockerClass(global);
export = new ModuleMockerClass(global);

0 comments on commit bab6b97

Please sign in to comment.