|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
597 bytes
|
| Rev | Line | |
|---|
| [9af201e] | 1 | // Type definitions for ErrorStackParser v2.1.0
|
|---|
| 2 | // Project: https://github.com/stacktracejs/error-stack-parser
|
|---|
| 3 | // Definitions by: Eric Wendelin <https://www.eriwen.com>
|
|---|
| 4 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|---|
| 5 |
|
|---|
| 6 | import StackFrame = require("stackframe");
|
|---|
| 7 |
|
|---|
| 8 | declare namespace ErrorStackParser {
|
|---|
| 9 | export type {StackFrame};
|
|---|
| 10 | /**
|
|---|
| 11 | * Given an Error object, extract the most information from it.
|
|---|
| 12 | *
|
|---|
| 13 | * @param {Error} error object
|
|---|
| 14 | * @return {Array} of StackFrames
|
|---|
| 15 | */
|
|---|
| 16 | export function parse(error: Error): StackFrame[];
|
|---|
| 17 | }
|
|---|
| 18 |
|
|---|
| 19 | export = ErrorStackParser;
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.