aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/net.ts
diff options
context:
space:
mode:
Diffstat (limited to 'editors/code/src/net.ts')
-rw-r--r--editors/code/src/net.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/editors/code/src/net.ts b/editors/code/src/net.ts
index 9ba17b7b5..1ab21e726 100644
--- a/editors/code/src/net.ts
+++ b/editors/code/src/net.ts
@@ -1,7 +1,4 @@
1// Replace with `import fetch from "node-fetch"` once this is fixed in rollup: 1import fetch from "node-fetch";
2// https://github.com/rollup/plugins/issues/491
3const fetch = require("node-fetch") as typeof import("node-fetch")["default"];
4
5import * as vscode from "vscode"; 2import * as vscode from "vscode";
6import * as stream from "stream"; 3import * as stream from "stream";
7import * as crypto from "crypto"; 4import * as crypto from "crypto";