mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 07:47:04 +00:00
fix TS 2.9 error
This commit is contained in:
Vendored
+1
-1
@@ -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>>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user