diff --git a/compat/src/index.js b/compat/src/index.js index c9686074f4..500af48aac 100644 --- a/compat/src/index.js +++ b/compat/src/index.js @@ -108,7 +108,7 @@ const unstable_batchedUpdates = (callback, arg) => callback(arg); * @template Arg * @template Result * @param {(arg: Arg) => Result} callback function that runs before the flush - * @param {Arg} [arg] Optional arugment that can be passed to the callback + * @param {Arg} [arg] Optional argument that can be passed to the callback * @returns */ const flushSync = (callback, arg) => callback(arg); diff --git a/debug/src/debug.js b/debug/src/debug.js index 13bf41285e..d0fcc85a20 100644 --- a/debug/src/debug.js +++ b/debug/src/debug.js @@ -72,7 +72,7 @@ export function initDebug() { errorInfo.componentStack = getOwnerStack(vnode); oldCatchError(error, vnode, oldVNode, errorInfo); - // when an error was handled by an ErrorBoundary we will nontheless emit an error + // when an error was handled by an ErrorBoundary we will nonetheless emit an error // event on the window object. This is to make up for react compatibility in dev mode // and thus make the Next.js dev overlay work. if (typeof error.then != 'function') { diff --git a/test/polyfills.js b/test/polyfills.js index 9fcafa41ed..cd142b3c60 100644 --- a/test/polyfills.js +++ b/test/polyfills.js @@ -71,7 +71,7 @@ chai.use((chai, util) => { // // The following code overwrites karma's internal logging feature to -// support a much prettier and humand readable represantation of +// support a much prettier and humand readable representation of // console logs in our terminal. This includes indentation, coloring // and support for Map and Set objects. //