From 585beb6ecd0a87ca319702172f220079023e0063 Mon Sep 17 00:00:00 2001 From: Dmitriy Fishman Date: Mon, 29 Nov 2021 15:24:29 +0200 Subject: [PATCH] docs: fix typos in CodeTransformation.md (#12034) --- docs/CodeTransformation.md | 6 +++--- packages/jest-transform/src/types.ts | 4 ++-- website/versioned_docs/version-27.0/CodeTransformation.md | 6 +++--- website/versioned_docs/version-27.1/CodeTransformation.md | 6 +++--- website/versioned_docs/version-27.2/CodeTransformation.md | 6 +++--- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/docs/CodeTransformation.md b/docs/CodeTransformation.md index 4dc04986b93a..8da5d7a72bc8 100644 --- a/docs/CodeTransformation.md +++ b/docs/CodeTransformation.md @@ -24,7 +24,7 @@ You can write your own transformer. The API of a transformer is as follows: ```ts interface SyncTransformer { /** - * Indicates if the transformer is capabale of instrumenting the code for code coverage. + * Indicates if the transformer is capable of instrumenting the code for code coverage. * * If V8 coverage is _not_ active, and this is `true`, Jest will assume the code is instrumented. * If V8 coverage is _not_ active, and this is `false`. Jest will instrument the code returned by this transformer using Babel. @@ -59,7 +59,7 @@ interface SyncTransformer { interface AsyncTransformer { /** - * Indicates if the transformer is capabale of instrumenting the code for code coverage. + * Indicates if the transformer is capable of instrumenting the code for code coverage. * * If V8 coverage is _not_ active, and this is `true`, Jest will assume the code is instrumented. * If V8 coverage is _not_ active, and this is `false`. Jest will instrument the code returned by this transformer using Babel. @@ -120,7 +120,7 @@ type TransformedSource = | {code: string; map?: RawSourceMap | string | null} | string; -// Config.ProjectConfig can be seen in in code [here](https://github.com/facebook/jest/blob/v26.6.3/packages/jest-types/src/Config.ts#L323) +// Config.ProjectConfig can be seen in code [here](https://github.com/facebook/jest/blob/v26.6.3/packages/jest-types/src/Config.ts#L323) // RawSourceMap comes from [`source-map`](https://github.com/mozilla/source-map/blob/0.6.1/source-map.d.ts#L6-L12) ``` diff --git a/packages/jest-transform/src/types.ts b/packages/jest-transform/src/types.ts index cc6f2e3995a4..0e0753c0eb1b 100644 --- a/packages/jest-transform/src/types.ts +++ b/packages/jest-transform/src/types.ts @@ -70,7 +70,7 @@ export interface TransformOptions export interface SyncTransformer { /** - * Indicates if the transformer is capabale of instrumenting the code for code coverage. + * Indicates if the transformer is capable of instrumenting the code for code coverage. * * If V8 coverage is _not_ active, and this is `true`, Jest will assume the code is instrumented. * If V8 coverage is _not_ active, and this is `false`. Jest will instrument the code returned by this transformer using Babel. @@ -105,7 +105,7 @@ export interface SyncTransformer { export interface AsyncTransformer { /** - * Indicates if the transformer is capabale of instrumenting the code for code coverage. + * Indicates if the transformer is capable of instrumenting the code for code coverage. * * If V8 coverage is _not_ active, and this is `true`, Jest will assume the code is instrumented. * If V8 coverage is _not_ active, and this is `false`. Jest will instrument the code returned by this transformer using Babel. diff --git a/website/versioned_docs/version-27.0/CodeTransformation.md b/website/versioned_docs/version-27.0/CodeTransformation.md index 4dc04986b93a..8da5d7a72bc8 100644 --- a/website/versioned_docs/version-27.0/CodeTransformation.md +++ b/website/versioned_docs/version-27.0/CodeTransformation.md @@ -24,7 +24,7 @@ You can write your own transformer. The API of a transformer is as follows: ```ts interface SyncTransformer { /** - * Indicates if the transformer is capabale of instrumenting the code for code coverage. + * Indicates if the transformer is capable of instrumenting the code for code coverage. * * If V8 coverage is _not_ active, and this is `true`, Jest will assume the code is instrumented. * If V8 coverage is _not_ active, and this is `false`. Jest will instrument the code returned by this transformer using Babel. @@ -59,7 +59,7 @@ interface SyncTransformer { interface AsyncTransformer { /** - * Indicates if the transformer is capabale of instrumenting the code for code coverage. + * Indicates if the transformer is capable of instrumenting the code for code coverage. * * If V8 coverage is _not_ active, and this is `true`, Jest will assume the code is instrumented. * If V8 coverage is _not_ active, and this is `false`. Jest will instrument the code returned by this transformer using Babel. @@ -120,7 +120,7 @@ type TransformedSource = | {code: string; map?: RawSourceMap | string | null} | string; -// Config.ProjectConfig can be seen in in code [here](https://github.com/facebook/jest/blob/v26.6.3/packages/jest-types/src/Config.ts#L323) +// Config.ProjectConfig can be seen in code [here](https://github.com/facebook/jest/blob/v26.6.3/packages/jest-types/src/Config.ts#L323) // RawSourceMap comes from [`source-map`](https://github.com/mozilla/source-map/blob/0.6.1/source-map.d.ts#L6-L12) ``` diff --git a/website/versioned_docs/version-27.1/CodeTransformation.md b/website/versioned_docs/version-27.1/CodeTransformation.md index 4dc04986b93a..8da5d7a72bc8 100644 --- a/website/versioned_docs/version-27.1/CodeTransformation.md +++ b/website/versioned_docs/version-27.1/CodeTransformation.md @@ -24,7 +24,7 @@ You can write your own transformer. The API of a transformer is as follows: ```ts interface SyncTransformer { /** - * Indicates if the transformer is capabale of instrumenting the code for code coverage. + * Indicates if the transformer is capable of instrumenting the code for code coverage. * * If V8 coverage is _not_ active, and this is `true`, Jest will assume the code is instrumented. * If V8 coverage is _not_ active, and this is `false`. Jest will instrument the code returned by this transformer using Babel. @@ -59,7 +59,7 @@ interface SyncTransformer { interface AsyncTransformer { /** - * Indicates if the transformer is capabale of instrumenting the code for code coverage. + * Indicates if the transformer is capable of instrumenting the code for code coverage. * * If V8 coverage is _not_ active, and this is `true`, Jest will assume the code is instrumented. * If V8 coverage is _not_ active, and this is `false`. Jest will instrument the code returned by this transformer using Babel. @@ -120,7 +120,7 @@ type TransformedSource = | {code: string; map?: RawSourceMap | string | null} | string; -// Config.ProjectConfig can be seen in in code [here](https://github.com/facebook/jest/blob/v26.6.3/packages/jest-types/src/Config.ts#L323) +// Config.ProjectConfig can be seen in code [here](https://github.com/facebook/jest/blob/v26.6.3/packages/jest-types/src/Config.ts#L323) // RawSourceMap comes from [`source-map`](https://github.com/mozilla/source-map/blob/0.6.1/source-map.d.ts#L6-L12) ``` diff --git a/website/versioned_docs/version-27.2/CodeTransformation.md b/website/versioned_docs/version-27.2/CodeTransformation.md index 4dc04986b93a..8da5d7a72bc8 100644 --- a/website/versioned_docs/version-27.2/CodeTransformation.md +++ b/website/versioned_docs/version-27.2/CodeTransformation.md @@ -24,7 +24,7 @@ You can write your own transformer. The API of a transformer is as follows: ```ts interface SyncTransformer { /** - * Indicates if the transformer is capabale of instrumenting the code for code coverage. + * Indicates if the transformer is capable of instrumenting the code for code coverage. * * If V8 coverage is _not_ active, and this is `true`, Jest will assume the code is instrumented. * If V8 coverage is _not_ active, and this is `false`. Jest will instrument the code returned by this transformer using Babel. @@ -59,7 +59,7 @@ interface SyncTransformer { interface AsyncTransformer { /** - * Indicates if the transformer is capabale of instrumenting the code for code coverage. + * Indicates if the transformer is capable of instrumenting the code for code coverage. * * If V8 coverage is _not_ active, and this is `true`, Jest will assume the code is instrumented. * If V8 coverage is _not_ active, and this is `false`. Jest will instrument the code returned by this transformer using Babel. @@ -120,7 +120,7 @@ type TransformedSource = | {code: string; map?: RawSourceMap | string | null} | string; -// Config.ProjectConfig can be seen in in code [here](https://github.com/facebook/jest/blob/v26.6.3/packages/jest-types/src/Config.ts#L323) +// Config.ProjectConfig can be seen in code [here](https://github.com/facebook/jest/blob/v26.6.3/packages/jest-types/src/Config.ts#L323) // RawSourceMap comes from [`source-map`](https://github.com/mozilla/source-map/blob/0.6.1/source-map.d.ts#L6-L12) ```