Socket
Socket
Sign inDemoInstall

@mui/types

Package Overview
Dependencies
Maintainers
10
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mui/types - npm Package Compare versions

Comparing version 7.2.13 to 7.2.14-dev.20240529-082515-213b5e33ab

18

index.d.ts

@@ -30,3 +30,6 @@ import * as React from 'react';

) => React.JSXElementConstructor<
DistributiveOmit<JSX.LibraryManagedAttributes<C, React.ComponentProps<C>>, keyof InjectedProps> &
DistributiveOmit<
React.JSX.LibraryManagedAttributes<C, React.ComponentProps<C>>,
keyof InjectedProps
> &
AdditionalProps

@@ -71,7 +74,4 @@ >;

// https://stackoverflow.com/questions/53807517/how-to-test-if-two-types-are-exactly-the-same
export type IfEquals<T, U, Y = unknown, N = never> = (<G>() => G extends T ? 1 : 2) extends <
G,
>() => G extends U ? 1 : 2
? Y
: N;
export type IfEquals<T, U, Y = unknown, N = never> =
(<G>() => G extends T ? 1 : 2) extends <G>() => G extends U ? 1 : 2 ? Y : N;

@@ -100,3 +100,3 @@ /**

// Also, there are types in Base UI that have a similar shape to this interface
// (e.g. SelectType, OptionType, etc.).
// (for example SelectType, OptionType, etc.).
<C extends React.ElementType>(

@@ -110,4 +110,4 @@ props: {

} & OverrideProps<M, C>,
): JSX.Element | null;
(props: DefaultComponentProps<M>): JSX.Element | null;
): React.JSX.Element | null;
(props: DefaultComponentProps<M>): React.JSX.Element | null;
propTypes?: any;

@@ -114,0 +114,0 @@ }

@@ -18,4 +18,4 @@ import * as React from 'react';

} & OverridePropsVer2<M, C>,
): JSX.Element;
(props: DefaultComponentPropsVer2<M>): JSX.Element;
): React.JSX.Element;
(props: DefaultComponentPropsVer2<M>): React.JSX.Element;
propTypes?: any;

@@ -22,0 +22,0 @@ }

{
"name": "@mui/types",
"version": "7.2.13",
"version": "7.2.14-dev.20240529-082515-213b5e33ab",
"private": false,

@@ -5,0 +5,0 @@ "author": "MUI Team",

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