We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c339695 commit 62e2700Copy full SHA for 62e2700
stackframe.d.ts
@@ -3,6 +3,10 @@
3
// Definitions by: Eric Wendelin <https://www.eriwen.com>
4
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
5
6
+export as namespace StackFrame; // global for non-module UMD users
7
+
8
+export = StackFrame;
9
10
declare namespace StackFrame {
11
export interface StackFrameOptions {
12
isConstructor?: boolean;
@@ -68,5 +72,3 @@ declare class StackFrame {
68
72
69
73
toString(): string;
70
74
}
71
-
-export default StackFrame;
stackframe.js
@@ -6,7 +6,7 @@
if (typeof define === 'function' && define.amd) {
define('stackframe', [], factory);
} else if (typeof exports === 'object') {
- module.exports.default = factory();
+ module.exports = factory();
} else {
root.StackFrame = factory();
0 commit comments