From 1eb78d0ec99051bbde9a1f022fce55fc269ab17f Mon Sep 17 00:00:00 2001 From: AlbertGao Date: Tue, 15 Jan 2019 16:53:27 +1300 Subject: [PATCH] Update index.d.ts The current `any` of `style()` can't pass the `no-unsafe-any` TSLint rule. --- types/styled-system/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/styled-system/index.d.ts b/types/styled-system/index.d.ts index 495df8a6d3..ca2f7ce1fc 100644 --- a/types/styled-system/index.d.ts +++ b/types/styled-system/index.d.ts @@ -40,7 +40,7 @@ export interface LowLevelStylefunctionArguments { scale?: Array; } -export function style(args: LowLevelStylefunctionArguments): any; +export function style(args: LowLevelStylefunctionArguments): {[cssProp: string]: string}; export type TLengthStyledSystem = string | 0 | number; export type ResponsiveValue = T | Array;