diff options
Diffstat (limited to 'cli/js/globals.ts')
-rw-r--r-- | cli/js/globals.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cli/js/globals.ts b/cli/js/globals.ts index 7e708d018..5a5f54ee1 100644 --- a/cli/js/globals.ts +++ b/cli/js/globals.ts @@ -31,15 +31,15 @@ import { core } from "./core.ts"; declare global { interface CallSite { getThis(): unknown; - getTypeName(): string; - getFunction(): Function; - getFunctionName(): string; - getMethodName(): string; - getFileName(): string; + getTypeName(): string | null; + getFunction(): Function | null; + getFunctionName(): string | null; + getMethodName(): string | null; + getFileName(): string | null; getLineNumber(): number | null; getColumnNumber(): number | null; getEvalOrigin(): string | null; - isToplevel(): boolean; + isToplevel(): boolean | null; isEval(): boolean; isNative(): boolean; isConstructor(): boolean; |