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 ||