Skip to content

Commit

Permalink
fix: update
Browse files Browse the repository at this point in the history
  • Loading branch information
btea committed Apr 26, 2024
1 parent d7b3f05 commit ff075f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/happy-dom/src/nodes/document/Document.ts
Original file line number Diff line number Diff line change
Expand Up @@ -675,10 +675,10 @@ export default class Document extends Node {
/**
* Returns true if the command is supported.
* @deprecated
* @param command Command.
* @param _ Command.

Check warning on line 678 in packages/happy-dom/src/nodes/document/Document.ts

View workflow job for this annotation

GitHub Actions / build (16)

Delete `·`

Check warning on line 678 in packages/happy-dom/src/nodes/document/Document.ts

View workflow job for this annotation

GitHub Actions / build (18)

Delete `·`

Check warning on line 678 in packages/happy-dom/src/nodes/document/Document.ts

View workflow job for this annotation

GitHub Actions / build (20)

Delete `·`
* @returns True if the command is supported, false otherwise.
*/
public queryCommandSupported(command: string): boolean {
public queryCommandSupported(_: string): boolean {
if (!arguments.length) {
throw new TypeError(
"Failed to execute 'queryCommandSupported' on 'Document': 1 argument required, but only 0 present."
Expand Down

0 comments on commit ff075f9

Please sign in to comment.