Fix incorrect linting error.

This commit is contained in:
João Vieira
2018-09-26 10:06:43 +01:00
parent 3060dbf392
commit 30eeae9a72
+1 -1
View File
@@ -55,7 +55,7 @@ interface TestProps {
}
// Stateful HOC that adds props to wrapped component. Similar to what withRedux does.
// tslint:disable-next-line no-unnecessary-generics
// tslint:disable-next-line no-unnecessary-generics, use-default-type-parameter
const withExample = <P extends {}>(App: AppComponentType<P & WithExampleProps, P>) =>
class extends React.Component<P & AppProps & WithExampleHocProps> {
test: string;