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:
Takeshi Kurosawa
2015-11-22 13:25:47 +09:00
parent 0ea013a775
commit 4ad9bef6cc
2 changed files with 5 additions and 1 deletions
+3 -1
View File
@@ -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;