diff --git a/types/node/index.d.ts b/types/node/index.d.ts index 54ada1a5d4..9daa447bef 100644 --- a/types/node/index.d.ts +++ b/types/node/index.d.ts @@ -326,10 +326,10 @@ declare namespace NodeJS { getLineNumber: Function; // if this function was defined in a script returns the current line number getColumnNumber: Function; // if this function was defined in a script returns the current column number getEvalOrigin: Function; // if this function was created using a call to eval returns a CallSite object representing the location where eval was called - isToplevel: boolean; // is this a toplevel invocation, that is, is this the global object? - isEval: boolean; // does this call take place in code defined by a call to eval? - isNative: boolean; // is this call in native V8 code? - isConstructor: boolean; // is this a constructor call? + isToplevel: Function; // is this a toplevel invocation, that is, is this the global object? + isEval: Function; // does this call take place in code defined by a call to eval? + isNative: Function; // is this call in native V8 code? + isConstructor: Function; // is this a constructor call? } export interface ErrnoException extends Error { diff --git a/types/node/v4/index.d.ts b/types/node/v4/index.d.ts index 3959bd2d33..55d1b55376 100644 --- a/types/node/v4/index.d.ts +++ b/types/node/v4/index.d.ts @@ -244,10 +244,10 @@ declare namespace NodeJS { getLineNumber: Function; // if this function was defined in a script returns the current line number getColumnNumber: Function; // if this function was defined in a script returns the current column number getEvalOrigin: Function; // if this function was created using a call to eval returns a CallSite object representing the location where eval was called - isToplevel: boolean; // is this a toplevel invocation, that is, is this the global object? - isEval: boolean; // does this call take place in code defined by a call to eval? - isNative: boolean; // is this call in native V8 code? - isConstructor: boolean; // is this a constructor call? + isToplevel: Function; // is this a toplevel invocation, that is, is this the global object? + isEval: Function; // does this call take place in code defined by a call to eval? + isNative: Function; // is this call in native V8 code? + isConstructor: Function; // is this a constructor call? } export interface ErrnoException extends Error { diff --git a/types/node/v6/index.d.ts b/types/node/v6/index.d.ts index 0b36f2cc7b..54a77a4044 100644 --- a/types/node/v6/index.d.ts +++ b/types/node/v6/index.d.ts @@ -273,10 +273,10 @@ declare namespace NodeJS { getLineNumber: Function; // if this function was defined in a script returns the current line number getColumnNumber: Function; // if this function was defined in a script returns the current column number getEvalOrigin: Function; // if this function was created using a call to eval returns a CallSite object representing the location where eval was called - isToplevel: boolean; // is this a toplevel invocation, that is, is this the global object? - isEval: boolean; // does this call take place in code defined by a call to eval? - isNative: boolean; // is this call in native V8 code? - isConstructor: boolean; // is this a constructor call? + isToplevel: Function; // is this a toplevel invocation, that is, is this the global object? + isEval: Function; // does this call take place in code defined by a call to eval? + isNative: Function; // is this call in native V8 code? + isConstructor: Function; // is this a constructor call? } export interface ErrnoException extends Error { diff --git a/types/node/v7/index.d.ts b/types/node/v7/index.d.ts index 55bbe84bd8..4bf98adf5e 100644 --- a/types/node/v7/index.d.ts +++ b/types/node/v7/index.d.ts @@ -285,10 +285,10 @@ declare namespace NodeJS { getLineNumber: Function; // if this function was defined in a script returns the current line number getColumnNumber: Function; // if this function was defined in a script returns the current column number getEvalOrigin: Function; // if this function was created using a call to eval returns a CallSite object representing the location where eval was called - isToplevel: boolean; // is this a toplevel invocation, that is, is this the global object? - isEval: boolean; // does this call take place in code defined by a call to eval? - isNative: boolean; // is this call in native V8 code? - isConstructor: boolean; // is this a constructor call? + isToplevel: Function; // is this a toplevel invocation, that is, is this the global object? + isEval: Function; // does this call take place in code defined by a call to eval? + isNative: Function; // is this call in native V8 code? + isConstructor: Function; // is this a constructor call? } export interface ErrnoException extends Error {