Fix or expose previously hidden type errors to prepare for LTI mode

Summary:
Changelog:
[Internal]

Differential Revision: D40600946

fbshipit-source-id: d169402eb16204ac62788806d6d3fb900776f3d2
This commit is contained in:
Sam Zhou
2022-10-22 12:32:34 -07:00
committed by Facebook GitHub Bot
parent 6e18f1fab1
commit e480211a54
+1 -1
View File
@@ -810,7 +810,7 @@ type JestObjectType = {
* Returns a new, unused mock function. Optionally takes a mock
* implementation.
*/
fn<TArguments: $ReadOnlyArray<mixed> = $ReadOnlyArray<mixed>, TReturn = any>(
fn<TArguments: $ReadOnlyArray<mixed> = $ReadOnlyArray<any>, TReturn = any>(
implementation?: (...args: TArguments) => TReturn,
): JestMockFn<TArguments, TReturn>,
/**