import jsx file in tsx compilation error
I am trying to import jsx file in tsx file. This is causing the error error TS2604: JSX element type 'Test' does not have any construct or call signatures. I a using webpack , react, typescript, Import tsx files no issues, but any jsx file is causing compilation error, package.json { "name": "typescript-babel-webpack", "version": "1.0.0", "description": "A simple lightweight TypeScript + Babel + Webpack project.", "scripts": { "build": "webpack" }, "license": "", "devDependencies": { "babel-core": "^6.20.0", "babel-loader": "^6.2.9", "babel-plugin-transform-runtime": "^6.15.0", "babel-preset