Merge pull request #32152 from Albert-Gao/patch-1

Added type for return value of style() function
This commit is contained in:
Daniel Rosenwasser
2019-01-15 15:48:11 -08:00
committed by GitHub
+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>;