// TSX w/ createComponent is tested in createComponent.test-d.tsx import { expectError, expectType } from 'tsd' import { KeepAlive, Suspense, Fragment, Portal } from '@vue/runtime-dom' expectType(
) expectType(
) expectType() // unknown prop expectError(
) // allow key/ref on arbitrary element expectType(
) expectType(
) expectType( { // infer correct event type expectType(e.target) }} /> ) // built-in types expectType() expectType() expectType() // target is required expectError() // KeepAlive expectType() expectError() // Suspense expectType() expectType( {}} onRecede={() => {}} />) expectError()