Using withStyles with Typescript in the new @material-ui/core
问题 I'm trying to update some of my old Typescript that used material-ui@next to the new @material-ui/core. Typescript Version: 2.8.3 @material-ui/core: 1.1.0 I've implemented a very simple component that takes a single prop but the typescript compiler throws the following error when it is used src/App.tsx(21,26): error TS2322: Type '{ classes: true; imageUrl: string; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Placeholder> & Readonly<{ children?: ReactNode; }>...