mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-09-05 08:40:32 +00:00
* feat(react-dependents): update to TS 2.8 * exclude react-dom * fix version mismatches
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;
|