qunit-dom icon indicating copy to clipboard operation
qunit-dom copied to clipboard

Argument of type ShadowRoot | null is not assignable to parameter of type Element | undefined .

Open lolmaus opened this issue 6 months ago • 0 comments

qunit-dom does work correctly with ShadowRoot, but its types do not allow for that.

Reproduction: https://github.com/lifeart/glimmer-next/blob/fa5b80ac09fe52c5b6660946cc44fa103aaba627/src/tests/integration/shadowroot-test.gts#L17C1-L18

CC @lifeart

lolmaus avatar Jan 13 '24 09:01 lolmaus