Update index.d.ts

The current `any` of `style()` can't pass the `no-unsafe-any` TSLint rule.
This commit is contained in:
AlbertGao
2019-01-15 16:53:27 +13:00
committed by GitHub
parent 945fd1a382
commit 1eb78d0ec9
+1 -1
View File
@@ -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>;