mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Fixed unit tests and naming conventions.
This commit is contained in:
1 parent
a07aca985c
commit
f9996b4dda
4 files changed
+11
-12
No files matched your search
Vendored
+20
@@ -0,0 +1,20 @@
|
||||
// Type definitions for node-stack-trace
|
||||
// Project: https://github.com/felixge/node-stack-trace
|
||||
// Definitions by: Exceptionless <https://github.com/exceptionless>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
declare module 'stack-trace' {
|
||||
export interface StackFrame {
|
||||
getTypeName():string;
|
||||
getFunctionName():string;
|
||||
getMethodName():string;
|
||||
getFileName():string;
|
||||
getTypeName():string;
|
||||
getLineNumber():number;
|
||||
getColumnNumber():number;
|
||||
isNative():boolean;
|
||||
}
|
||||
|
||||
export function get(belowFn?:() => void): StackFrame[];
|
||||
export function parse(err:Error): StackFrame[];
|
||||
}
|
||||
Reference in new issue
Block a user