@dooboostore/dom-parser 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dooboostore/dom-parser",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -35,6 +35,7 @@ export class HTMLTableElement extends HTMLElement {
35
35
  createCaption(): HTMLElement {
36
36
  let caption = this.caption;
37
37
  if (!caption) {
38
+ // @ts-ignore
38
39
  caption = this.ownerDocument.createElement('caption');
39
40
  this.insertBefore(caption, this.firstChild);
40
41
  }
@@ -51,6 +52,7 @@ export class HTMLTableElement extends HTMLElement {
51
52
  createTHead(): HTMLElement {
52
53
  let thead = this.tHead;
53
54
  if (!thead) {
55
+ // @ts-ignore
54
56
  thead = this.ownerDocument.createElement('thead');
55
57
  const firstTBody = this.querySelector('tbody');
56
58
  this.insertBefore(thead, firstTBody);
@@ -68,6 +70,7 @@ export class HTMLTableElement extends HTMLElement {
68
70
  createTFoot(): HTMLElement {
69
71
  let tfoot = this.tFoot;
70
72
  if (!tfoot) {
73
+ // @ts-ignore
71
74
  tfoot = this.ownerDocument.createElement('tfoot');
72
75
  this.appendChild(tfoot);
73
76
  }
@@ -101,6 +104,7 @@ export class HTMLTableElement extends HTMLElement {
101
104
  }
102
105
  }
103
106
 
107
+ // @ts-ignore
104
108
  return row;
105
109
  }
106
110
 
@@ -34,6 +34,7 @@ export class HTMLTfootElement extends HTMLElement {
34
34
  }
35
35
  }
36
36
 
37
+ // @ts-ignore
37
38
  return row;
38
39
  }
39
40