Skip to content

Commit

Permalink
Merge pull request #1123 from goring/patch-1
Browse files Browse the repository at this point in the history
docs: fix item typo
  • Loading branch information
capricorn86 authored Oct 9, 2023
2 parents fe05c76 + 4033abc commit 729953c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/happy-dom/src/named-node-map/INamedNodeMap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default interface INamedNodeMap {
* Returns named item.
*
* @param name Name.
* @returns Itme.
* @returns Item.
*/
getNamedItem(name: string): IAttr | null;

Expand Down
2 changes: 1 addition & 1 deletion packages/happy-dom/src/named-node-map/NamedNodeMap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default class NamedNodeMap implements INamedNodeMap {
* Returns named item.
*
* @param name Name.
* @returns Itme.
* @returns Item.
*/
public getNamedItem(name: string): IAttr | null {
return this._namedItems[name] || null;
Expand Down
2 changes: 1 addition & 1 deletion packages/happy-dom/src/query-selector/SelectorParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default class SelectorParser {
* Parses a selector string and returns an instance of SelectorItem.
*
* @param selector Selector.
* @returns Selector itme.
* @returns Selector item.
*/
public static getSelectorItem(selector: string): SelectorItem {
return this.getSelectorGroups(selector)[0][0];
Expand Down

0 comments on commit 729953c

Please sign in to comment.