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
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: @types/jasmine, @types/react