Skip to content

Commit 1bf9f36

Browse files
authored
fix typo/punctuation in MockFunctionAPI.md (#12887)
* fix typo/punctuation in MockFunctionAPI.md * fix typo/punctuation in docs/MockFunctionAPI.md * fix typo/punctuation in v28.0/MockFunctionAPI.md
1 parent 3e38157 commit 1bf9f36

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/MockFunctionAPI.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ Please consult the [Getting Started](GettingStarted.md#using-typescript) guide f
493493

494494
### `jest.fn(implementation?)`
495495

496-
Correct mock typings will be inferred, if implementation is passed to [`jest.fn()`](JestObjectAPI.md#jestfnimplementation). There are many use cases there the implementation is omitted. To ensure type safety you may pass a generic type argument (also see the examples above for more reference):
496+
Correct mock typings will be inferred if implementation is passed to [`jest.fn()`](JestObjectAPI.md#jestfnimplementation). There are many use cases where the implementation is omitted. To ensure type safety you may pass a generic type argument (also see the examples above for more reference):
497497

498498
```ts
499499
import {expect, jest, test} from '@jest/globals';

website/versioned_docs/version-28.0/MockFunctionAPI.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ Please consult the [Getting Started](GettingStarted.md#using-typescript) guide f
493493

494494
### `jest.fn(implementation?)`
495495

496-
Correct mock typings will be inferred, if implementation is passed to [`jest.fn()`](JestObjectAPI.md#jestfnimplementation). There are many use cases there the implementation is omitted. To ensure type safety you may pass a generic type argument (also see the examples above for more reference):
496+
Correct mock typings will be inferred if implementation is passed to [`jest.fn()`](JestObjectAPI.md#jestfnimplementation). There are many use cases where the implementation is omitted. To ensure type safety you may pass a generic type argument (also see the examples above for more reference):
497497

498498
```ts
499499
import {expect, jest, test} from '@jest/globals';

website/versioned_docs/version-28.1/MockFunctionAPI.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ Please consult the [Getting Started](GettingStarted.md#using-typescript) guide f
493493

494494
### `jest.fn(implementation?)`
495495

496-
Correct mock typings will be inferred, if implementation is passed to [`jest.fn()`](JestObjectAPI.md#jestfnimplementation). There are many use cases there the implementation is omitted. To ensure type safety you may pass a generic type argument (also see the examples above for more reference):
496+
Correct mock typings will be inferred if implementation is passed to [`jest.fn()`](JestObjectAPI.md#jestfnimplementation). There are many use cases where the implementation is omitted. To ensure type safety you may pass a generic type argument (also see the examples above for more reference):
497497

498498
```ts
499499
import {expect, jest, test} from '@jest/globals';

0 commit comments

Comments
 (0)