diff --git a/types/next/test/next-app-tests.tsx b/types/next/test/next-app-tests.tsx index ee7b4fffdc..eaa2c0ad07 100644 --- a/types/next/test/next-app-tests.tsx +++ b/types/next/test/next-app-tests.tsx @@ -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 =
(App: AppComponentType
) => class extends React.Component
{ test: string;