Updated node definition to make assert a fundule.

This commit is contained in:
Andrew Gaspar
2013-06-19 23:03:20 -07:00
parent 8d690fe98f
commit 1aac9b3436
+3 -3
View File
@@ -312,7 +312,7 @@ declare module "cluster" {
}
export interface Worker {
id: string;
process: child_process;
process: child_process.ChildProcess;
suicide: boolean;
send(message: any, sendHandle?: any): void;
destroy(): void;
@@ -1018,8 +1018,8 @@ declare module "util" {
export function inherits(constructor: any, superConstructor: any): void;
}
declare module "assert" {
export function (booleanValue: boolean, message?: string);
declare function assert(booleanValue: boolean, message?: string);
declare module "assert" {
export function fail(actual: any, expected: any, message: string, operator: string): void;
export function assert(value: any, message: string): void;
export function ok(value: any, message?: string): void;