@types/styled-theming
Advanced tools
Comparing version 2.2.1 to 2.2.2
@@ -5,2 +5,3 @@ // Type definitions for styled-theming 2.2 | ||
// Hieu Ho <https://github.com/hieuhlc> | ||
// David Daniell <https://github.com/tinynumbers> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -14,4 +15,8 @@ // TypeScript Version: 2.9 | ||
declare namespace theme { | ||
type ThemeValueFn = (props: object) => string; | ||
type ThemeValue = string | ThemeValueFn | FlattenInterpolation<ThemeProps<any>> | FlattenInterpolation<ThemedStyledProps<any, any>>; | ||
type ThemeValueResult = | ||
string | ||
| FlattenInterpolation<ThemeProps<any>> | ||
| FlattenInterpolation<ThemedStyledProps<any, any>>; | ||
type ThemeValueFn = (props: object) => ThemeValueResult; | ||
type ThemeValue = ThemeValueFn | ThemeValueResult; | ||
@@ -18,0 +23,0 @@ interface ThemeMap { |
{ | ||
"name": "@types/styled-theming", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"description": "TypeScript definitions for styled-theming", | ||
@@ -16,2 +16,7 @@ "license": "MIT", | ||
"githubUsername": "hieuhlc" | ||
}, | ||
{ | ||
"name": "David Daniell", | ||
"url": "https://github.com/tinynumbers", | ||
"githubUsername": "tinynumbers" | ||
} | ||
@@ -31,4 +36,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "89ca812cef77d37b71f55682a3c9253ca206ce83e38de74a968d53f95af1cfa0", | ||
"typesPublisherContentHash": "af6ee313af4ab86933ff40435a455d39fe7672dafd4f5bb7bc7b0451404ef450", | ||
"typeScriptVersion": "2.9" | ||
} |
@@ -5,3 +5,3 @@ # Installation | ||
# Summary | ||
This package contains type definitions for styled-theming ( https://github.com/styled-components/styled-theming#readme ). | ||
This package contains type definitions for styled-theming (https://github.com/styled-components/styled-theming#readme). | ||
@@ -12,3 +12,3 @@ # Details | ||
Additional Details | ||
* Last updated: Fri, 12 Apr 2019 16:17:03 GMT | ||
* Last updated: Thu, 27 Jun 2019 16:23:11 GMT | ||
* Dependencies: @types/styled-components | ||
@@ -18,2 +18,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Arjan Jassal <https://github.com/ArjanJ>, Hieu Ho <https://github.com/hieuhlc>. | ||
These definitions were written by Arjan Jassal <https://github.com/ArjanJ>, Hieu Ho <https://github.com/hieuhlc>, and David Daniell <https://github.com/tinynumbers>. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4109
31