Skip to content

Commit

Permalink
Fix typos (#607)
Browse files Browse the repository at this point in the history
Summary:
**Summary**

I found a few typos while reading docs and codes.

**Test plan**

Pull Request resolved: #607

Reviewed By: MichaReiser

Differential Revision: D24883541

Pulled By: cpojer

fbshipit-source-id: 5ef893d6e29ec8b7871e34167430a416f2f83b8e
  • Loading branch information
inokawa authored and facebook-github-bot committed Nov 13, 2020
1 parent 1e6cec8 commit 4b42bfc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/Configuration.md
Expand Up @@ -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) => {
Expand Down
2 changes: 1 addition & 1 deletion packages/metro-transform-worker/src/index.js
Expand Up @@ -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 ||
Expand Down

0 comments on commit 4b42bfc

Please sign in to comment.