This repository was archived by the owner on Jan 19, 2019. It is now read-only.
interface not correctly parsed #327
Closed
Description
What version of TypeScript are you using?
2.4.0
What version of typescript-eslint-parser
are you using?
3.0.0
What code were you trying to parse?
import { React } from "react";
interface Props {
hello: string;
}
class TestView extends React.Component<Props, any> {
render() {
return (
<span>{ this.props.hello }</span>
);
}
};
What did you expect to happen?
No errors
What happened?
3:11 error 'Props' is not defined no-undef
4:5 error 'hello' is not defined no-undef✖ 2 problems (2 errors, 0 warnings)
Is this related to #75?