Socket
Socket
Sign inDemoInstall

@types/mdx

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/mdx - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

4

mdx/package.json
{
"name": "@types/mdx",
"version": "2.0.1",
"version": "2.0.2",
"description": "TypeScript definitions for mdx",

@@ -33,4 +33,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mdx",

"dependencies": {},
"typesPublisherContentHash": "b7ee723a8e8a51357fdba1928d23f2f6d00238c340cc18b185941482b711ee00",
"typesPublisherContentHash": "467f698d026a57d65a5a8538bc047c19acb24e5dcf50e19e9dcee6f5666baf75",
"typeScriptVersion": "3.9"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Sun, 17 Oct 2021 19:31:17 GMT
* Last updated: Sun, 15 May 2022 17:31:38 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: none

// Internal helper types
// tslint:disable-next-line: strict-export-declare-modifiers
type FunctionComponent<Props> = (props: Props) => JSX.Element;
type FunctionComponent<Props> = (props: Props) => JSX.Element | null;
// tslint:disable-next-line: strict-export-declare-modifiers

@@ -21,11 +21,10 @@ type ClassComponent<Props> = new (props: Props) => JSX.ElementClass;

*/
export type MDXComponents = NestedMDXComponents &
{
[Key in keyof JSX.IntrinsicElements]?: Component<JSX.IntrinsicElements[Key]> | keyof JSX.IntrinsicElements;
} & {
/**
* If a wrapper component is defined, the MDX content will be wrapped inside of it.
*/
wrapper?: Component<any>;
};
export type MDXComponents = NestedMDXComponents & {
[Key in keyof JSX.IntrinsicElements]?: Component<JSX.IntrinsicElements[Key]> | keyof JSX.IntrinsicElements;
} & {
/**
* If a wrapper component is defined, the MDX content will be wrapped inside of it.
*/
wrapper?: Component<any>;
};

@@ -51,3 +50,3 @@ /**

*/
export type MDXContent = FunctionComponent<MDXProps>;
export type MDXContent = (props: MDXProps) => JSX.Element;

@@ -54,0 +53,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