@types/react-test-renderer
Advanced tools
Comparing version 18.0.7 to 18.3.0
@@ -45,2 +45,6 @@ import { ElementType, ReactElement } from "react"; | ||
} | ||
/** | ||
* @deprecated See https://react.dev/warnings/react-test-renderer | ||
*/ | ||
export function create(nextElement: ReactElement, options?: TestRendererOptions): ReactTestRenderer; | ||
@@ -63,2 +67,3 @@ | ||
* @see https://reactjs.org/blog/2019/02/06/react-v16.8.0.html#testing-hooks | ||
* @deprecated See https://react.dev/warnings/react-test-renderer | ||
*/ | ||
@@ -77,2 +82,3 @@ // VoidOrUndefinedOnly is here to forbid any sneaky return values | ||
* @see https://reactjs.org/blog/2019/02/06/react-v16.8.0.html#testing-hooks | ||
* @deprecated See https://react.dev/warnings/react-test-renderer | ||
*/ | ||
@@ -79,0 +85,0 @@ export function act(callback: () => VoidOrUndefinedOnly): DebugPromiseLike; |
{ | ||
"name": "@types/react-test-renderer", | ||
"version": "18.0.7", | ||
"version": "18.3.0", | ||
"description": "TypeScript definitions for react-test-renderer", | ||
@@ -55,4 +55,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-test-renderer", | ||
}, | ||
"typesPublisherContentHash": "c352588848385f8a938b668c9d9606a0167f800f65945db3cfa6f171dec65ca4", | ||
"typeScriptVersion": "4.5" | ||
"typesPublisherContentHash": "416f2ed084714e5045bc6a1e9f08fe17975ff77553b8d0906adb33c88dde550a", | ||
"typeScriptVersion": "4.7" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Wed, 22 Nov 2023 00:24:48 GMT | ||
* Last updated: Thu, 25 Apr 2024 20:07:03 GMT | ||
* Dependencies: [@types/react](https://npmjs.com/package/@types/react) | ||
@@ -14,0 +14,0 @@ |
@@ -21,3 +21,4 @@ import { ReactElement, ReactInstance } from "react"; | ||
* Call this in your tests to create a shallow renderer. | ||
* @deprecated See https://react.dev/warnings/react-test-renderer | ||
*/ | ||
export function createRenderer(): ShallowRenderer; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8418
103