mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 21:10:23 +00:00
fix[styled-system] - replace missing OpacityProperty with GlobalsNumber (#42509)
This commit is contained in:
Vendored
+2
-1
@@ -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,6 +1,6 @@
|
||||
{
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"csstype": "^2.6.4"
|
||||
"csstype": "^2.6.9"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user