Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

types: Remove stacktrace-gps declarations.

Anders Kaseorg3cc94ea930af
diff --git a/web/src/types/stacktrace-gps/index.d.ts b/web/src/types/stacktrace-gps/index.d.ts
deleted file mode 100644
index 7bea18447ef..00000000000
--- a/web/src/types/stacktrace-gps/index.d.ts
+++ /dev/null
@@ -1,23 +0,0 @@
-import type SourceMap from "source-map";
-import type StackFrame from "stackframe";
-
-declare namespace StackTraceGPS {
- type StackTraceGPSOptions = {
- sourceCache?: Record<string, string | Promise<string>>;
- sourceMapConsumerCache?: Record<string, SourceMap.SourceMapConsumer>;
- offline?: boolean;
- ajax?(url: string): Promise<string>;
- atob?(base64: string): string;
- };
-}
-
-declare class StackTraceGPS {
- constructor(options?: StackTraceGPS.StackTraceGPSOptions);
- pinpoint(stackframe: StackFrame): Promise<StackFrame>;
- findFunctionName(stackframe: StackFrame): Promise<StackFrame>;
- getMappedLocation(stackframe: StackFrame): Promise<StackFrame>;
-}
-
-export = StackTraceGPS;
-
-export as namespace StackTraceGPS; // global for non-module UMD users