mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-26 12:10:44 +08:00
Node.js util.inspect must return a string
As explained here: http://nodejs.org/api/util.html#util_util_inspect_object_options util.inspect return a string
This commit is contained in:
1 parent
7081b41df4
commit
0ad9432d61
1 file changed
+1
-1
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