Skip to content

rdarder/ts-react-jsx-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published