mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Add assert.deepStrictEqual and assert.notDeepStrictEqual to node.d.ts
[io.js 1.2.0][1] added [deepStrictEqual][2] and [notDeepStrictEqual][3] to assert. [1]: https://github.com/nodejs/node/blob/v1.2.0/CHANGELOG.md#notable-changes [2]: https://nodejs.org/api/assert.html#assert_assert_deepstrictequal_actual_expected_message [3]: https://nodejs.org/api/assert.html#assert_assert_notdeepstrictequal_actual_expected_message
This commit is contained in:
1 parent
0ea013a775
commit
4ad9bef6cc
2 files changed
+5
-1
No files matched your search
Vendored
+3
-1
@@ -430,7 +430,7 @@ declare module "http" {
|
||||
import * as events from "events";
|
||||
import * as net from "net";
|
||||
import * as stream from "stream";
|
||||
|
||||
|
||||
export interface RequestOptions {
|
||||
protocol?: string;
|
||||
host?: string;
|
||||
@@ -1808,6 +1808,8 @@ declare module "assert" {
|
||||
export function notDeepEqual(acutal: any, expected: any, message?: string): void;
|
||||
export function strictEqual(actual: any, expected: any, message?: string): void;
|
||||
export function notStrictEqual(actual: any, expected: any, message?: string): void;
|
||||
export function deepStrictEqual(actual: any, expected: any, message?: string): void;
|
||||
export function notDeepStrictEqual(actual: any, expected: any, message?: string): void;
|
||||
export var throws: {
|
||||
(block: Function, message?: string): void;
|
||||
(block: Function, error: Function, message?: string): void;
|
||||
|
||||
Reference in new issue
Block a user