diff --git a/packages-private/dts-test/tsx.test-d.tsx b/packages-private/dts-test/tsx.test-d.tsx index 0cd380f0447..c1c6fc75ec6 100644 --- a/packages-private/dts-test/tsx.test-d.tsx +++ b/packages-private/dts-test/tsx.test-d.tsx @@ -84,6 +84,52 @@ expectType( // infer correct event type expectType(e.target) }} + onInputCapture={e => { + expectType(e.target) + }} + onInputCaptureOnce={e => { + expectType(e.target) + }} + onInputCaptureOncePassive={e => { + expectType(e.target) + }} + onInputCapturePassive={e => { + expectType(e.target) + }} + onInputCapturePassiveOnce={e => { + expectType(e.target) + }} + onInputOnce={e => { + expectType(e.target) + }} + onInputOnceCapture={e => { + expectType(e.target) + }} + onInputOnceCapturePassive={e => { + expectType(e.target) + }} + onInputOncePassive={e => { + expectType(e.target) + }} + onInputOncePassiveCapture={e => { + expectType(e.target) + }} + onInputPassive={e => { + // infer correct event type + expectType(e.target) + }} + onInputPassiveCapture={e => { + expectType(e.target) + }} + onInputPassiveCaptureOnce={e => { + expectType(e.target) + }} + onInputPassiveOnce={e => { + expectType(e.target) + }} + onInputPassiveOnceCapture={e => { + expectType(e.target) + }} />, )