Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos: code comment #41691

Merged
merged 5 commits into from Oct 24, 2022
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -261,7 +261,7 @@ declare class Event$1<TEventType extends string = string> {
get cancelable(): boolean;
/**
* `true` if the default behavior will act.
* @deprecated Use the `defaultPrevented` proeprty instead.
* @deprecated Use the `defaultPrevented` property instead.
ijjk marked this conversation as resolved.
Show resolved Hide resolved
* @see https://dom.spec.whatwg.org/#dom-event-returnvalue
*/
get returnValue(): boolean;
Expand Down
2 changes: 1 addition & 1 deletion packages/next/shared/lib/router/utils/path-match.ts
Expand Up @@ -22,7 +22,7 @@ interface Options {

/**
* Generates a path matcher function for a given path and options based on
* path-to-regexp. By default the match will be case insesitive, non strict
* path-to-regexp. By default the match will be case insensitive, non strict
* and delimited by `/`.
*/
export function getPathMatch(path: string, options?: Options) {
Expand Down
2 changes: 1 addition & 1 deletion packages/next/shared/lib/router/utils/route-regex.ts
Expand Up @@ -53,7 +53,7 @@ function getParametrizedRoute(route: string) {

/**
* From a normalized route this function generates a regular expression and
* a corresponding groups object inteded to be used to store matching groups
* a corresponding groups object intended to be used to store matching groups
* from the regular expression.
*/
export function getRouteRegex(normalizedRoute: string): RouteRegex {
Expand Down
Expand Up @@ -918,7 +918,7 @@ var focusSvgForeignobjectTabindex = {
element.innerHTML = generate(
'<foreignObject tabindex="-1"><input type="text" /></foreignObject>'
)
// Safari 8's quersSelector() can't identify foreignObject, but getElementyByTagName() can
// Safari 8's querySelector() can't identify foreignObject, but getElementsByTagName() can
return (
element.querySelector('foreignObject') ||
element.getElementsByTagName('foreignObject')[0]
Expand Down