import * as React from 'react'; import { expectType } from '@mui/types'; import AppBar from '@mui/material/AppBar'; const CustomComponent: React.FC<{ stringProp: string; numberProp: number }> = function CustomComponent() { return
; }; function AppBarTest() { return (
{ expectType, typeof event>(event); }} /> {/* @ts-expect-error missing stringProp and numberProp */}
); } // `color` ; ; ; ; ; ; ; ; ;