fix TS 2.9 error

This commit is contained in:
Igor Oleinikov
2018-10-25 23:09:09 -07:00
parent 17133af056
commit b383c0c873
+1 -1
View File
@@ -82,7 +82,7 @@ export interface ThemedStyledFunction<P, T, O = P> {
strings: TemplateStringsArray,
...interpolations: Array<Interpolation<ThemedStyledProps<P & U, T>>>
): StyledComponentClass<P & U, T, O & U>;
attrs<U, A extends Partial<P & U> & { [others: string]: unknown; } = {}>(
attrs<U, A extends Partial<P & U> & { [others: string]: any; } = {}>(
attrs: Attrs<P & U, A, T>,
): ThemedStyledFunction<DiffBetween<A, P & U>, T, DiffBetween<A, O & U>>;
}