@samitouri / QOS-React-2 / commits / 54f6ae9b1c

Fix small typos (#22701)

Konstantin Popov committed Nov 5, 2021 at 02:49 UTC 54f6ae9b1c0489784f6a95bbe26ffec31816d74a
3 files changed +3 -3
packages/react-devtools-shared/src/__tests__/console-test.js
+1 -1
@@ -69,7 +69,7 @@ describe('console', () => {
69 );
70 }
71
72 - it('should not patch console methods that are not explicitly overriden', () => {
72 + it('should not patch console methods that are not explicitly overridden', () => {
73 expect(fakeConsole.error).not.toBe(mockError);
74 expect(fakeConsole.info).toBe(mockInfo);
75 expect(fakeConsole.log).toBe(mockLog);
packages/react-devtools-shared/src/backend/views/utils.js
+1 -1
@@ -50,7 +50,7 @@ export function getBoundingClientRectWithBorderOffset(node: HTMLElement) {
50 right: dimensions.borderRight,
51 // This width and height won't get used by mergeRectOffsets (since this
52 // 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.
54 width: 0,
55 height: 0,
56 },
scripts/release/prepare-release-from-npm-commands/update-stable-version-numbers.js
+1 -1
@@ -132,7 +132,7 @@ const run = async ({cwd, packages, version}, versionsMap) => {
132 let diff = '';
133 let numFilesModified = 0;
134
135 - // Find-and-replace hard coded version (in built JS) for renderers.
135 + // Find-and-replace hardcoded version (in built JS) for renderers.
136 for (let i = 0; i < packages.length; i++) {
137 const packageName = packages[i];
138 const packagePath = join(nodeModulesPath, packageName);