mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 21:00:01 +08:00
Added missing flag 'v8debug' to Global interface
'v8debug' is an optional flag that will be set in NodeJS globals upon using the 'debug-brk' command parameter. We're using it to dynamically detect when app is running in debug-mode. (When not on debug-mode, the 'v8debug' flag is undefined)
This commit is contained in:
1
node/node.d.ts
vendored
1
node/node.d.ts
vendored
@@ -334,6 +334,7 @@ declare module NodeJS {
|
||||
undefined: typeof undefined;
|
||||
unescape: (str: string) => string;
|
||||
gc: () => void;
|
||||
v8debug?: any;
|
||||
}
|
||||
|
||||
export interface Timer {
|
||||
|
||||
Reference in New Issue
Block a user