mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
18 lines
540 B
TypeScript
18 lines
540 B
TypeScript
// Type definitions for assert-equal-jsx 1.0
|
|
// Project: https://github.com/thejameskyle/assert-equal-jsx
|
|
// Definitions by: Josh Toft <https://github.com/seryl>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.8
|
|
|
|
import * as React from 'react';
|
|
|
|
declare namespace assertEqualJSX {
|
|
interface AsssertOptions {
|
|
sanitize?(str: string): string;
|
|
}
|
|
}
|
|
|
|
declare function assertEqualJSX(actual: JSX.Element, expected: JSX.Element, opts?: assertEqualJSX.AsssertOptions): void;
|
|
|
|
export = assertEqualJSX;
|