main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
597 bytes
|
Rev | Line | |
---|
[d565449] | 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.