Installation
npm install --save @types/assert-equal-jsx
Summary
This package contains type definitions for assert-equal-jsx (https://github.com/thejameskyle/assert-equal-jsx).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/assert-equal-jsx.
index.d.ts
import * as React from "react";
declare namespace assertEqualJSX {
interface AsssertOptions {
sanitize?(str: string): string;
}
}
declare function assertEqualJSX(
actual: React.JSX.Element,
expected: React.JSX.Element,
opts?: assertEqualJSX.AsssertOptions,
): void;
export = assertEqualJSX;
Additional Details
- Last updated: Wed, 06 Dec 2023 06:36:35 GMT
- Dependencies: @types/react
Credits
These definitions were written by Josh Toft.