Open kanagarajkm opened 3 years ago
I was having the same issue, turned out it was because I was using a junction/symlink for my project.
Switching to the original folder directly fixed my typescript compilation and errors now show up as expected.
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs.
Describe the bug
yarn start
oryarn build
are not throwing any type errors.Did you try recovering your dependencies?
I have tried a fresh install.
Which terms did you search for in User Guide?
I tried finding a similar issue in github, but there isn't any
Environment
Steps to reproduce
(Write your steps here:)
npx create-react-app my-app --template typescript
test.jsx
under thesrc
directoy with following contentsexport function getValue(props: Props): string { return props.message1 }
import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import App from './App'; import reportWebVitals from './reportWebVitals'; import {getValue} from "./test"
ReactDOM.render(