This repository was archived by the owner on Apr 8, 2020. It is now read-only.
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
Hotloading TSX files with interfaces does not seem to be working #254
Closed
Description
This might be my setup, but hotloading React modules crashes if you reference an interface:
IFormInput.ts
export interface IFormInput
{
Value?: string;
OnModelChange?: Function;
PropertyName?: string;
ValidationError?: string;
}
React Module
import {IFormInput} from "./IFormInput";
@observer
export default class FormInputGroup extends React.Component<IFormInput, any>
{
...trimmed react code
}
Webpack builds everything fine and the application works, however when I make a change and the hotloader fires I get several errors around the interface:
Metadata
Metadata
Assignees
Labels
No labels