Skip to content

Commit

Permalink
Add deep argument to the type of cloneNode() (#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
tai2 authored Oct 22, 2023
1 parent 9dccace commit 94434f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion types/esm/interface/node.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class Node extends EventTarget implements globalThis.Node {
set textContent(arg: any);
get textContent(): any;
normalize(): void;
cloneNode(): any;
cloneNode(deep?: boolean): any;
contains(): boolean;
/**
* Inserts a node before a reference node as a child of this parent node.
Expand Down
2 changes: 1 addition & 1 deletion types/interface/node.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class Node extends EventTarget implements globalThis.Node {
set textContent(arg: any);
get textContent(): any;
normalize(): void;
cloneNode(): any;
cloneNode(deep?: boolean): any;
contains(): boolean;
/**
* Inserts a node before a reference node as a child of this parent node.
Expand Down

0 comments on commit 94434f7

Please sign in to comment.