Skip to content

Commit 663a758

Browse files
authored
Fix docs typo (#15426)
1 parent 2076548 commit 663a758

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

docs/Configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@ type HasteConfig = {
880880
hasteImplModulePath?: string;
881881
/** All platforms to target, e.g ['ios', 'android']. */
882882
platforms?: Array<string>;
883-
/** Whether to throw on error on module collision. */
883+
/** Whether to throw an error on module collision. */
884884
throwOnModuleCollision?: boolean;
885885
/** Custom HasteMap module */
886886
hasteMapModulePath?: string;

packages/jest-schemas/src/raw-types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ const HasteConfig = Type.Partial(
213213
description: "All platforms to target, e.g ['ios', 'android'].",
214214
}),
215215
throwOnModuleCollision: Type.Boolean({
216-
description: 'Whether to throw on error on module collision.',
216+
description: 'Whether to throw an error on module collision.',
217217
}),
218218
hasteMapModulePath: Type.String({
219219
description: 'Custom HasteMap module',

packages/jest-types/src/Config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export type HasteConfig = {
121121
hasteImplModulePath?: string;
122122
/** All platforms to target, e.g ['ios', 'android']. */
123123
platforms?: Array<string>;
124-
/** Whether to throw on error on module collision. */
124+
/** Whether to throw an error on module collision. */
125125
throwOnModuleCollision?: boolean;
126126
/** Custom HasteMap module */
127127
hasteMapModulePath?: string;

website/versioned_docs/version-29.4/Configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@ type HasteConfig = {
842842
hasteImplModulePath?: string;
843843
/** All platforms to target, e.g ['ios', 'android']. */
844844
platforms?: Array<string>;
845-
/** Whether to throw on error on module collision. */
845+
/** Whether to throw an error on module collision. */
846846
throwOnModuleCollision?: boolean;
847847
/** Custom HasteMap module */
848848
hasteMapModulePath?: string;

website/versioned_docs/version-29.5/Configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@ type HasteConfig = {
842842
hasteImplModulePath?: string;
843843
/** All platforms to target, e.g ['ios', 'android']. */
844844
platforms?: Array<string>;
845-
/** Whether to throw on error on module collision. */
845+
/** Whether to throw an error on module collision. */
846846
throwOnModuleCollision?: boolean;
847847
/** Custom HasteMap module */
848848
hasteMapModulePath?: string;

website/versioned_docs/version-29.6/Configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@ type HasteConfig = {
842842
hasteImplModulePath?: string;
843843
/** All platforms to target, e.g ['ios', 'android']. */
844844
platforms?: Array<string>;
845-
/** Whether to throw on error on module collision. */
845+
/** Whether to throw an error on module collision. */
846846
throwOnModuleCollision?: boolean;
847847
/** Custom HasteMap module */
848848
hasteMapModulePath?: string;

website/versioned_docs/version-29.7/Configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@ type HasteConfig = {
842842
hasteImplModulePath?: string;
843843
/** All platforms to target, e.g ['ios', 'android']. */
844844
platforms?: Array<string>;
845-
/** Whether to throw on error on module collision. */
845+
/** Whether to throw an error on module collision. */
846846
throwOnModuleCollision?: boolean;
847847
/** Custom HasteMap module */
848848
hasteMapModulePath?: string;

0 commit comments

Comments
 (0)