summaryrefslogtreecommitdiff
path: root/js/types.d.ts
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-08-06 18:37:32 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-08-08 18:35:26 -0700
commit51380bf39936e0bcb1cb671bb20e961e1bb18e7d (patch)
tree3bed337aa9d2f63fe497f5e2ea826dd499b4b00b /js/types.d.ts
parent4a1ccdeadb44983b8966c4623f10c5a665a39517 (diff)
Organize libdeno functions.
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 {