From 663a758a43ad9077fd808df4a7c86b703ad75514 Mon Sep 17 00:00:00 2001 From: Edwin Kofler Date: Thu, 16 Jan 2025 06:34:24 -0800 Subject: [PATCH] Fix docs typo (#15426) --- docs/Configuration.md | 2 +- packages/jest-schemas/src/raw-types.ts | 2 +- packages/jest-types/src/Config.ts | 2 +- website/versioned_docs/version-29.4/Configuration.md | 2 +- website/versioned_docs/version-29.5/Configuration.md | 2 +- website/versioned_docs/version-29.6/Configuration.md | 2 +- website/versioned_docs/version-29.7/Configuration.md | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/Configuration.md b/docs/Configuration.md index 1ca9a15e1341..ac7a5bd01104 100644 --- a/docs/Configuration.md +++ b/docs/Configuration.md @@ -880,7 +880,7 @@ type HasteConfig = { hasteImplModulePath?: string; /** All platforms to target, e.g ['ios', 'android']. */ platforms?: Array; - /** Whether to throw on error on module collision. */ + /** Whether to throw an error on module collision. */ throwOnModuleCollision?: boolean; /** Custom HasteMap module */ hasteMapModulePath?: string; diff --git a/packages/jest-schemas/src/raw-types.ts b/packages/jest-schemas/src/raw-types.ts index 8f001e762e1d..34b9af7a873d 100644 --- a/packages/jest-schemas/src/raw-types.ts +++ b/packages/jest-schemas/src/raw-types.ts @@ -213,7 +213,7 @@ const HasteConfig = Type.Partial( description: "All platforms to target, e.g ['ios', 'android'].", }), throwOnModuleCollision: Type.Boolean({ - description: 'Whether to throw on error on module collision.', + description: 'Whether to throw an error on module collision.', }), hasteMapModulePath: Type.String({ description: 'Custom HasteMap module', diff --git a/packages/jest-types/src/Config.ts b/packages/jest-types/src/Config.ts index debea999ed27..154e4bfc1043 100644 --- a/packages/jest-types/src/Config.ts +++ b/packages/jest-types/src/Config.ts @@ -121,7 +121,7 @@ export type HasteConfig = { hasteImplModulePath?: string; /** All platforms to target, e.g ['ios', 'android']. */ platforms?: Array; - /** Whether to throw on error on module collision. */ + /** Whether to throw an error on module collision. */ throwOnModuleCollision?: boolean; /** Custom HasteMap module */ hasteMapModulePath?: string; diff --git a/website/versioned_docs/version-29.4/Configuration.md b/website/versioned_docs/version-29.4/Configuration.md index b1ffa6a110b0..ca1f8438e7fc 100644 --- a/website/versioned_docs/version-29.4/Configuration.md +++ b/website/versioned_docs/version-29.4/Configuration.md @@ -842,7 +842,7 @@ type HasteConfig = { hasteImplModulePath?: string; /** All platforms to target, e.g ['ios', 'android']. */ platforms?: Array; - /** Whether to throw on error on module collision. */ + /** Whether to throw an error on module collision. */ throwOnModuleCollision?: boolean; /** Custom HasteMap module */ hasteMapModulePath?: string; diff --git a/website/versioned_docs/version-29.5/Configuration.md b/website/versioned_docs/version-29.5/Configuration.md index 77e9ee87564c..d823f21dcd7c 100644 --- a/website/versioned_docs/version-29.5/Configuration.md +++ b/website/versioned_docs/version-29.5/Configuration.md @@ -842,7 +842,7 @@ type HasteConfig = { hasteImplModulePath?: string; /** All platforms to target, e.g ['ios', 'android']. */ platforms?: Array; - /** Whether to throw on error on module collision. */ + /** Whether to throw an error on module collision. */ throwOnModuleCollision?: boolean; /** Custom HasteMap module */ hasteMapModulePath?: string; diff --git a/website/versioned_docs/version-29.6/Configuration.md b/website/versioned_docs/version-29.6/Configuration.md index bd0b75773c5d..1781e0ee39af 100644 --- a/website/versioned_docs/version-29.6/Configuration.md +++ b/website/versioned_docs/version-29.6/Configuration.md @@ -842,7 +842,7 @@ type HasteConfig = { hasteImplModulePath?: string; /** All platforms to target, e.g ['ios', 'android']. */ platforms?: Array; - /** Whether to throw on error on module collision. */ + /** Whether to throw an error on module collision. */ throwOnModuleCollision?: boolean; /** Custom HasteMap module */ hasteMapModulePath?: string; diff --git a/website/versioned_docs/version-29.7/Configuration.md b/website/versioned_docs/version-29.7/Configuration.md index bd0b75773c5d..1781e0ee39af 100644 --- a/website/versioned_docs/version-29.7/Configuration.md +++ b/website/versioned_docs/version-29.7/Configuration.md @@ -842,7 +842,7 @@ type HasteConfig = { hasteImplModulePath?: string; /** All platforms to target, e.g ['ios', 'android']. */ platforms?: Array; - /** Whether to throw on error on module collision. */ + /** Whether to throw an error on module collision. */ throwOnModuleCollision?: boolean; /** Custom HasteMap module */ hasteMapModulePath?: string;