File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 3
3
// Definitions by: Eric Wendelin <https://www.eriwen.com>
4
4
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
5
5
6
+ export as namespace StackFrame ; // global for non-module UMD users
7
+
8
+ export = StackFrame ;
9
+
6
10
declare namespace StackFrame {
7
11
export interface StackFrameOptions {
8
12
isConstructor ?: boolean ;
@@ -68,5 +72,3 @@ declare class StackFrame {
68
72
69
73
toString ( ) : string ;
70
74
}
71
-
72
- export default StackFrame ;
Original file line number Diff line number Diff line change 6
6
if ( typeof define === 'function' && define . amd ) {
7
7
define ( 'stackframe' , [ ] , factory ) ;
8
8
} else if ( typeof exports === 'object' ) {
9
- module . exports . default = factory ( ) ;
9
+ module . exports = factory ( ) ;
10
10
} else {
11
11
root . StackFrame = factory ( ) ;
12
12
}
You can’t perform that action at this time.
0 commit comments