Fixed typos (#22763)

* Fixed typos

* Update ReactFiberWorkLoop.new.js

* Update ReactFiberWorkLoop.old.js
This commit is contained in:
MalikIdreesHasanKhan 2021-11-15 23:01:35 +05:30 committed by GitHub
parent d4144e6e54
commit 489b4bdcca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
// Older versions use e.g. "Cannot read property 'world' of undefined"
// Newer versions use e.g. "Cannot read properties of undefined (reading 'world')"
// This file overrides the built-in toThrow() matches to handle both cases,
// enabling the React project to support Node 12-16 witout forking tests.
// enabling the React project to support Node 12-16 without forking tests.
const toThrowMatchers = require('expect/build/toThrowMatchers').default;
const builtInToThrow = toThrowMatchers.toThrow;

View File

@ -34,7 +34,7 @@ The high level process of creating releases is [documented below](#process). Ind
## Trigger an Automated Prerelease
If your code lands in the main branch, it will be automaticaly published to the prerelease channels within the next weekday. However, if you want to immediately publish a prerelease, you can trigger the job to run immediately:
If your code lands in the main branch, it will be automatically published to the prerelease channels within the next weekday. However, if you want to immediately publish a prerelease, you can trigger the job to run immediately:
```sh
yarn publish-prereleases