mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
13 lines
442 B
TypeScript
13 lines
442 B
TypeScript
// Type definitions for extract-stack 1.0
|
|
// Project: https://github.com/sindresorhus/extract-stack#readme
|
|
// Definitions by: BendingBender <https://github.com/BendingBender>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
export = extractStack;
|
|
|
|
declare function extractStack(input: Error | string | undefined): string;
|
|
|
|
declare namespace extractStack {
|
|
function lines(input: Error | string | undefined): string[];
|
|
}
|