From 4b42bfced734e989aa7ca61556c090283c708290 Mon Sep 17 00:00:00 2001 From: inokawa <48897392+inokawa@users.noreply.github.com> Date: Fri, 13 Nov 2020 00:17:13 -0800 Subject: [PATCH] Fix typos (#607) Summary: **Summary** I found a few typos while reading docs and codes. **Test plan** Pull Request resolved: https://github.com/facebook/metro/pull/607 Reviewed By: MichaReiser Differential Revision: D24883541 Pulled By: cpojer fbshipit-source-id: 5ef893d6e29ec8b7871e34167430a416f2f83b8e --- docs/Configuration.md | 2 +- packages/metro-transform-worker/src/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Configuration.md b/docs/Configuration.md index 6220f1af12..72607784bb 100644 --- a/docs/Configuration.md +++ b/docs/Configuration.md @@ -137,7 +137,7 @@ This option works similarly to how [$NODE_PATHS](https://nodejs.org/api/modules. Type: `?CustomResolver` -An optional function used to resolve requests. Ignored when the request can be resolved through Haste. Particularily useful for cases where aliases are used. For example: +An optional function used to resolve requests. Ignored when the request can be resolved through Haste. Particularly useful for cases where aliases are used. For example: ```javascript resolveRequest: (context, realModuleName, platform, moduleName) => { diff --git a/packages/metro-transform-worker/src/index.js b/packages/metro-transform-worker/src/index.js index a3d02d0690..b12cd96791 100644 --- a/packages/metro-transform-worker/src/index.js +++ b/packages/metro-transform-worker/src/index.js @@ -324,7 +324,7 @@ module.exports = { } : await transformer.transform(transformerArgs); - // Transformers can ouptut null ASTs (if they ignore the file). In that case + // Transformers can output null ASTs (if they ignore the file). In that case // we need to parse the module source code to get their AST. let ast = transformResult.ast ||