Commit 18a796b
committed
Restore HTMLDocument constructor
Detected in microsoft/TypeScript#45540, where
it breaks ant-design. `x instanceof HTMLDocument` no longer works.
This is likely worth fixing before the release of 4.4.1 parent 21da71e commit 18a796b
2 files changed
+6
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6044 | 6044 | | |
6045 | 6045 | | |
6046 | 6046 | | |
| 6047 | + | |
| 6048 | + | |
| 6049 | + | |
| 6050 | + | |
| 6051 | + | |
| 6052 | + | |
6047 | 6053 | | |
6048 | 6054 | | |
6049 | 6055 | | |
| |||
16000 | 16006 | | |
16001 | 16007 | | |
16002 | 16008 | | |
16003 | | - | |
16004 | 16009 | | |
16005 | 16010 | | |
16006 | 16011 | | |
| |||
17035 | 17040 | | |
17036 | 17041 | | |
17037 | 17042 | | |
17038 | | - | |
17039 | 17043 | | |
17040 | 17044 | | |
17041 | 17045 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
330 | 330 | | |
331 | 331 | | |
332 | 332 | | |
333 | | - | |
334 | 333 | | |
335 | 334 | | |
336 | 335 | | |
| |||
366 | 365 | | |
367 | 366 | | |
368 | 367 | | |
369 | | - | |
370 | | - | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | 368 | | |
378 | 369 | | |
379 | 370 | | |
| |||
0 commit comments