@types/assert-equal-jsx
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/assert-equal-jsx

Weekly Downloads

0

Version

1.0.8

License

MIT

Unpacked Size

3.31 kB

Total Files

5

Last publish

Collaborators

  • types