fix[styled-system] - replace missing OpacityProperty with GlobalsNumber (#42509)

This commit is contained in:
Dhruv Jain
2020-02-21 11:13:01 -08:00
committed by GitHub
parent 04840cc30f
commit 78a1d89e81
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -18,6 +18,7 @@
// Craig Michael Thompson <https://github.com/craga89>
// Nicholas Hehr <https://github.com/HipsterBrown>
// Hammad Jutt <https://github.com/hammadj>
// Dhruv Jain <https://github.com/maddhruv>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.9
@@ -1188,7 +1189,7 @@ export interface OpacityProps<ThemeType extends Theme = RequiredTheme> {
*
* [MDN reference](https://developer.mozilla.org/en-US/docs/Web/CSS/opacity)
*/
opacity?: ResponsiveValue<CSS.OpacityProperty, ThemeType>;
opacity?: ResponsiveValue<CSS.GlobalsNumber, ThemeType>;
}
export const opacity: styleFn;
+1 -1
View File
@@ -1,6 +1,6 @@
{
"private": true,
"dependencies": {
"csstype": "^2.6.4"
"csstype": "^2.6.9"
}
}