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

@cloudflare/types

Package Overview
Dependencies
Maintainers
20
Versions
492
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudflare/types - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [1.0.9](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/types@1.0.8...@cloudflare/types@1.0.9) (2019-02-23)
**Note:** Version bump only for package @cloudflare/types
## [1.0.8](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/types@1.0.7...@cloudflare/types@1.0.8) (2019-02-23)

@@ -8,0 +16,0 @@

4

package.json
{
"name": "@cloudflare/types",
"description": "",
"version": "1.0.8",
"version": "1.0.9",
"types": "./src",

@@ -20,3 +20,3 @@ "main": "lib/index.js",

},
"gitHead": "87a03891ba96b8c8f08ca8225cf8ae3d3a8cbf35"
"gitHead": "fee49f2c43c333977a2f61a1b97af7f2b2e058ba"
}

@@ -10,2 +10,10 @@ // (A - keys of B)

/**
* Get PropTypes of a component.
* @example
* const OtherComponent: React.SFC<{ foo: string }> = () => <div>{foo}</div>
* type MyComponentProps = PropTypes<typeof OtherComponent> & { bar: string } // {foo: string, bar: string}
*/
export type PropTypes<C> = C extends React.ComponentType<infer P> ? P : never;
/**
* ValueOf: similar to keyof, but picks a value.

@@ -12,0 +20,0 @@ *

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