Socket
Socket
Sign inDemoInstall

@types/react-is

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-is - npm Package Compare versions

Comparing version 16.7.2 to 16.7.3

7

react-is v16.7/index.d.ts

@@ -11,8 +11,3 @@ // Type definitions for react-is 16.7

import {
LazyExoticComponent,
MemoExoticComponent,
ReactElement,
ReactType
} from "react";
import { LazyExoticComponent, MemoExoticComponent, ReactElement, ReactType } from "react";

@@ -19,0 +14,0 @@ export function typeOf(value: any): symbol | undefined;

7

react-is v16.7/package.json
{
"name": "@types/react-is",
"version": "16.7.2",
"version": "16.7.3",
"description": "TypeScript definitions for react-is",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-is",
"license": "MIT",

@@ -34,4 +35,4 @@ "contributors": [

},
"typesPublisherContentHash": "4030ebd1482866cb434e1eed9b7bc959ad9e9cd40348cbd7f2e23a6b7c6befab",
"typeScriptVersion": "3.3"
"typesPublisherContentHash": "777db8b03ab820a6d95f73480ac1c33cf1c2e486c6b09aad5cf992e943b71e2b",
"typeScriptVersion": "4.5"
}

@@ -9,5 +9,48 @@ # Installation

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-is/v16.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-is/v16/index.d.ts)
````ts
// Type definitions for react-is 16.7
// Project: https://reactjs.org/
// Definitions by: Avi Vahl <https://github.com/AviVahl>
// Christian Chown <https://github.com/christianchown>
// Sebastian Silbermann <https://github.com/eps1lon>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
export as namespace ReactIs;
import { LazyExoticComponent, MemoExoticComponent, ReactElement, ReactType } from "react";
export function typeOf(value: any): symbol | undefined;
export function isValidElementType(value: any): value is ReactType;
export function isAsyncMode(value: any): value is ReactElement;
export function isContextConsumer(value: any): value is ReactElement;
export function isContextProvider(value: any): value is ReactElement;
export function isElement(value: any): value is ReactElement;
export function isForwardRef(value: any): value is ReactElement;
export function isFragment(value: any): value is ReactElement;
export function isLazy(value: any): value is LazyExoticComponent<any>;
export function isMemo(value: any): value is MemoExoticComponent<any>;
export function isProfiler(value: any): value is ReactElement;
export function isPortal(value: any): value is ReactElement;
export function isStrictMode(value: any): value is ReactElement;
export function isSuspense(value: any): value is ReactElement;
export const AsyncMode: symbol;
export const ContextConsumer: symbol;
export const ContextProvider: symbol;
export const Element: symbol;
export const ForwardRef: symbol;
export const Fragment: symbol;
export const Lazy: symbol;
export const Memo: symbol;
export const Portal: symbol;
export const Profiler: symbol;
export const StrictMode: symbol;
export const Suspense: symbol;
````
### Additional Details
* Last updated: Fri, 20 Nov 2020 22:01:06 GMT
* Last updated: Wed, 27 Sep 2023 07:12:04 GMT
* Dependencies: [@types/react](https://npmjs.com/package/@types/react)

@@ -14,0 +57,0 @@ * Global values: `ReactIs`

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc