I have a React project with TypeScript which is bootstrapped with create-react-app. I am using a separate file with .ts extension to declare types and interfaces. It looks like below.
export type TextFieldProps = {
name: string;
value: string;
label: string;
};
My problem is if I change the type the compiler is not recompiling. If I change any other file it is working. I am expecting a solution without ejecting and adding config to the webpack manually. Can anyone help me to solve this without ejecting? Thanks in Advance.