summaryrefslogtreecommitdiff
path: root/js/types.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/types.d.ts')
-rw-r--r--js/types.d.ts13
1 files changed, 13 insertions, 0 deletions
diff --git a/js/types.d.ts b/js/types.d.ts
index a9e013193..85eda0cd0 100644
--- a/js/types.d.ts
+++ b/js/types.d.ts
@@ -116,6 +116,19 @@ export interface CallSite {
isConstructor(): boolean;
}
+export interface StartOfSourceMap {
+ file?: string;
+ sourceRoot?: string;
+}
+
+export interface RawSourceMap extends StartOfSourceMap {
+ version: string;
+ sources: string[];
+ names: string[];
+ sourcesContent?: string[];
+ mappings: string;
+}
+
declare global {
// Declare "static" methods in Error
interface ErrorConstructor {