mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Update index.d.ts
The current `any` of `style()` can't pass the `no-unsafe-any` TSLint rule.
This commit is contained in:
Vendored
+1
-1
@@ -40,7 +40,7 @@ export interface LowLevelStylefunctionArguments {
|
||||
scale?: Array<string | number>;
|
||||
}
|
||||
|
||||
export function style(args: LowLevelStylefunctionArguments): any;
|
||||
export function style(args: LowLevelStylefunctionArguments): {[cssProp: string]: string};
|
||||
|
||||
export type TLengthStyledSystem = string | 0 | number;
|
||||
export type ResponsiveValue<T> = T | Array<T | null>;
|
||||
|
||||
Reference in New Issue
Block a user