// TSX w/ defineComponent is tested in defineComponent.test-d.tsx import { expectError, expectType } from 'tsd' import { KeepAlive, Suspense, Fragment, Teleport } 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() expectType() expectError() expectError() // KeepAlive expectType() expectType() expectError() // Suspense expectType() expectType() expectType( {}} onRecede={() => {}} />) expectError()