Merge pull request #7692 from fverswijver/patch-1

Update stacktrace-js.d.ts to include report function
This commit is contained in:
Horiuchi_H
2016-01-20 17:29:39 +09:00
+9
View File
@@ -63,4 +63,13 @@ declare module StackTrace {
* @param fn {Function}
*/
export function deinstrument(fn:() => void): void;
/**
* Given an Array of StackFrames, serialize and POST to given URL.
*
* @param stackframes - Array[StackFrame]
* @param url - URL as String
* @return Promise<any>
*/
export function report(stackframes: StackFrame[], url: string): Promise<any>;
}