Skip to content

Commit

Permalink
Update TypeScript definition to maximize compatibility when used with…
Browse files Browse the repository at this point in the history
… error-stack-parser
  • Loading branch information
eriwen committed Jun 5, 2022
1 parent bf8d635 commit 351d470
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions stackframe.d.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
// Type definitions for StackFrame v1.2.0
// Type definitions for StackFrame v1.3.0
// Project: https://github.com/stacktracejs/stackframe
// Definitions by: Eric Wendelin <https://www.eriwen.com>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

export as namespace StackFrame; // global for non-module UMD users

export = StackFrame;

declare namespace StackFrame {
export interface StackFrameOptions {
isConstructor?: boolean;
Expand Down Expand Up @@ -72,3 +68,5 @@ declare class StackFrame {

toString(): string;
}

export default StackFrame;

0 comments on commit 351d470

Please sign in to comment.