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

@types/prop-types

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/prop-types - npm Package Compare versions

Comparing version 15.7.1 to 15.7.2

6

prop-types/index.d.ts

@@ -34,3 +34,3 @@ // Type definitions for prop-types 15.7

export type IsOptional<T> = undefined | null extends T ? true : undefined extends T ? true : null extends T ? true : false;
export type IsOptional<T> = undefined extends T ? true : false;

@@ -43,3 +43,5 @@ export type RequiredKeys<V> = { [K in keyof V]-?: Exclude<V[K], undefined> extends Validator<infer T> ? IsOptional<T> extends true ? never : K : never }[keyof V];

(props: object, propName: string, componentName: string, location: string, propFullName: string): Error | null;
[nominalTypeHack]?: T;
[nominalTypeHack]?: {
type: T;
};
}

@@ -46,0 +48,0 @@

{
"name": "@types/prop-types",
"version": "15.7.1",
"version": "15.7.2",
"description": "TypeScript definitions for prop-types",

@@ -32,4 +32,4 @@ "license": "MIT",

"dependencies": {},
"typesPublisherContentHash": "428a2d0735bad0c54710672c573a150461a21fe06b7729a430a049a288c5d991",
"typesPublisherContentHash": "86a8fcd8ebf476b3a22864cf401b22be2c81efc9e80c4a957664c912015f87ab",
"typeScriptVersion": "2.8"
}

@@ -5,3 +5,3 @@ # Installation

# Summary
This package contains type definitions for prop-types ( https://github.com/reactjs/prop-types ).
This package contains type definitions for prop-types (https://github.com/reactjs/prop-types).

@@ -12,3 +12,3 @@ # Details

Additional Details
* Last updated: Wed, 17 Apr 2019 21:01:19 GMT
* Last updated: Tue, 03 Sep 2019 22:10:12 GMT
* Dependencies: none

@@ -18,2 +18,2 @@ * Global values: none

# Credits
These definitions were written by DovydasNavickas <https://github.com/DovydasNavickas>, Ferdy Budhidharma <https://github.com/ferdaber>, Sebastian Silbermann <https://github.com/eps1lon>.
These definitions were written by DovydasNavickas <https://github.com/DovydasNavickas>, Ferdy Budhidharma <https://github.com/ferdaber>, and Sebastian Silbermann <https://github.com/eps1lon>.
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