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 33// Definitions by: Eric Wendelin <https://www.eriwen.com>
44// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
55
6+ export as namespace StackFrame ; // global for non-module UMD users
7+
8+ export = StackFrame ;
9+
610declare namespace StackFrame {
711 export interface StackFrameOptions {
812 isConstructor ?: boolean ;
@@ -68,5 +72,3 @@ declare class StackFrame {
6872
6973 toString ( ) : string ;
7074}
71-
72- export default StackFrame ;
Original file line number Diff line number Diff line change 66 if ( typeof define === 'function' && define . amd ) {
77 define ( 'stackframe' , [ ] , factory ) ;
88 } else if ( typeof exports === 'object' ) {
9- module . exports . default = factory ( ) ;
9+ module . exports = factory ( ) ;
1010 } else {
1111 root . StackFrame = factory ( ) ;
1212 }
You can’t perform that action at this time.
0 commit comments