Skip to content

Commit

Permalink
#1123@patch: Fixes typo in documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
goring committed Oct 8, 2023
1 parent fe05c76 commit 4033abc
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 4033abc

Please sign in to comment.