You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/core/global-types.d.ts
+10-2Lines changed: 10 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -7,13 +7,21 @@ interface ModuleResolver {
7
7
}
8
8
9
9
/**
10
-
* An extended JavaScript Error which will have the nativeError property initialized in case the error is caused by executing platform-specific code.
10
+
* An extended JavaScript Error which will have the nativeException property initialized in case the error is caused by executing platform-specific code.
11
11
*/
12
12
declareinterfaceNativeScriptErrorextendsError{
13
13
/**
14
14
* Represents the native error object.
15
15
*/
16
-
nativeError: any;
16
+
nativeException?: any;
17
+
/**
18
+
* The native stack trace.
19
+
*/
20
+
stackTrace?: string;
21
+
/**
22
+
* Javascript portion of stack trace.
23
+
*/
24
+
stack?: string;
17
25
}
18
26
19
27
//Augment the NodeJS global type with our own extensions
0 commit comments