From f5c7db2f309eb796c127075b9bcac2eef254fa02 Mon Sep 17 00:00:00 2001 From: Kelvin Jin Date: Tue, 7 Nov 2017 09:23:37 -0800 Subject: [PATCH] [node] bump inspector types for V8 6.1 (#21012) --- types/node/inspector.d.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/types/node/inspector.d.ts b/types/node/inspector.d.ts index 445f55410d..955239b486 100644 --- a/types/node/inspector.d.ts +++ b/types/node/inspector.d.ts @@ -690,6 +690,11 @@ declare module "inspector" { * Stack trace captured when the call was made. */ stackTrace?: Runtime.StackTrace; + /** + * Console context descriptor for calls on non-default console context (not console.*): 'anonymous#unique-logger-id' for call on unnamed context, 'name#unique-logger-id' for call on named context. + * @experimental + */ + context?: string; } export interface InspectRequestedEventDataType { @@ -1434,6 +1439,10 @@ declare module "inspector" { * Source ranges inside the function with coverage data. */ ranges: Profiler.CoverageRange[]; + /** + * Whether coverage data for this function has block granularity. + */ + isBlockCoverage: boolean; } /**