Skip to content

Commit ca62865

Browse files
KonstHardyzhengjitf
authored andcommitted
Fix small typos (facebook#22701)
1 parent 4bd06e9 commit ca62865

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/react-devtools-shared/src/__tests__/console-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ describe('console', () => {
6969
);
7070
}
7171

72-
it('should not patch console methods that are not explicitly overriden', () => {
72+
it('should not patch console methods that are not explicitly overridden', () => {
7373
expect(fakeConsole.error).not.toBe(mockError);
7474
expect(fakeConsole.info).toBe(mockInfo);
7575
expect(fakeConsole.log).toBe(mockLog);

packages/react-devtools-shared/src/backend/views/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export function getBoundingClientRectWithBorderOffset(node: HTMLElement) {
5050
right: dimensions.borderRight,
5151
// This width and height won't get used by mergeRectOffsets (since this
5252
// is not the first rect in the array), but we set them so that this
53-
// object typechecks as a ClientRect.
53+
// object type checks as a ClientRect.
5454
width: 0,
5555
height: 0,
5656
},

scripts/release/prepare-release-from-npm-commands/update-stable-version-numbers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ const run = async ({cwd, packages, version}, versionsMap) => {
132132
let diff = '';
133133
let numFilesModified = 0;
134134

135-
// Find-and-replace hard coded version (in built JS) for renderers.
135+
// Find-and-replace hardcoded version (in built JS) for renderers.
136136
for (let i = 0; i < packages.length; i++) {
137137
const packageName = packages[i];
138138
const packagePath = join(nodeModulesPath, packageName);

0 commit comments

Comments
 (0)