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