Issue when compiling typescript along with legacy class components in jsx files
Output when running tsc
src/client.tsx(5,10): error TS2605: JSX element type 'Sample' is not a constructor function for JSX elements.
Property 'setState' is missing in type 'Sample'.