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

3.2.3 • Public • Published

Installation

npm install --save @types/jasmine-expect-jsx

Summary

This package contains type definitions for jasmine-expect-jsx (https://github.com/smacker/jasmine-expect-jsx#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jasmine-expect-jsx.

index.d.ts

/// <reference types="jasmine"/>

import * as React from "react";

declare global {
    namespace jasmine {
        interface Matchers<T> {
            toEqualJSX(element: Expected<T>): boolean;
            toIncludeJSX(element: Expected<T>): boolean;
        }
    }
}

Additional Details

Credits

These definitions were written by Nathan, and Bryan.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/jasmine-expect-jsx

Weekly Downloads

9

Version

3.2.3

License

MIT

Unpacked Size

3.5 kB

Total Files

5

Last publish

Collaborators

  • types