We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcd73f0 commit 73d1df0Copy full SHA for 73d1df0
src/error.ts
@@ -452,6 +452,12 @@ export function setUVMessage<T extends ExceptionJSON>(ex: T): T {
452
return ex;
453
}
454
455
+declare global {
456
+ interface ErrorConstructor {
457
+ captureStackTrace?(targetObject: object, constructorOpt?: Function): void;
458
+ }
459
+}
460
+
461
/**
462
* An error with additional information about what happened.
463
*
src/log.ts
@@ -5,6 +5,13 @@
5
6
import { List } from 'utilium';
7
8
9
+ const performance: {
10
+ now(): number;
11
+ };
12
+ const console: Record<'error' | 'warn' | 'info' | 'debug' | 'log', (...message: any[]) => void>;
13
14
15
16
* The log levels
17
*/
0 commit comments