// 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 style css property validation expectError(
) // allow array styles and nested array styles 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( {}} onFallback={() => {}} onPending={() => {}} /> ) // @ts-expect-error expectError()