Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/styled-theming

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/styled-theming - npm Package Compare versions

Comparing version 2.2.1 to 2.2.2

9

styled-theming/index.d.ts

@@ -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>.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc