Disable no-unnecessary-generics test

This commit is contained in:
James Lawrence
2019-01-28 18:53:34 +00:00
parent e8582cee86
commit 0059907e00

View File

@@ -17,6 +17,7 @@ interface MyTheme {
/**
* helper function to counter typescripts type widening
*/
// tslint:disable-next-line:no-unnecessary-generics
function createStyles<Props = {}, C extends string = string>(styles: Styles<C, Props>): Styles<C> {
return styles as Styles<C>;
}