Fix some CallSite properties to be functions not boolean values

This commit is contained in:
Howard Mak
2017-12-05 14:43:26 -05:00
parent 658b8af522
commit 75dabcb90f
4 changed files with 16 additions and 16 deletions
+4 -4
View File
@@ -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 {
+4 -4
View File
@@ -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 {
+4 -4
View File
@@ -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 {
+4 -4
View File
@@ -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 {