mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-07 16:30:12 +08:00
Merge pull request #967 from damianog/patch-3
Node.js util.inspect must return a string
This commit is contained in:
Vendored
+1
-1
@@ -1011,7 +1011,7 @@ declare module "util" {
|
||||
export function puts(...param: any[]): void;
|
||||
export function print(...param: any[]): void;
|
||||
export function log(string: string): void;
|
||||
export function inspect(object: any, showHidden?: boolean, depth?: number, color?: boolean): void;
|
||||
export function inspect(object: any, showHidden?: boolean, depth?: number, color?: boolean): string;
|
||||
export function isArray(object: any): boolean;
|
||||
export function isRegExp(object: any): boolean;
|
||||
export function isDate(object: any): boolean;
|
||||
|
||||
Reference in New Issue
Block a user