Skip to content

Commit

Permalink
Try adding <reference types="node" />
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Aug 2, 2018
1 parent 4c15011 commit ac944b6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions js/v8_source_maps.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
// Copyright 2014 Evan Wallace
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
// Originated from source-map-support but has been heavily modified for deno.

// Because NodeJS.CallSite and Error.prepareStackTrace are used we add a
// dependency on the Node types.
// TODO(ry) Ideally this triple slash directive should be removed as we only
// need CallSite and Error.prepareStackTrace but nothing else.
/// <reference types="node" />

import { SourceMapConsumer, MappedPosition } from "source-map";
import { RawSourceMap } from "source-map";
import * as base64 from "base64-js";
Expand Down

0 comments on commit ac944b6

Please sign in to comment.