We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 41feb81 + e2fec10 commit 9e437b2Copy full SHA for 9e437b2
editors/code/src/net.ts
@@ -1,4 +1,7 @@
1
-import fetch from "node-fetch";
+// Replace with `import fetch from "node-fetch"` once this is fixed in rollup:
2
+// https://github.com/rollup/plugins/issues/491
3
+const fetch = require("node-fetch") as typeof import("node-fetch")["default"];
4
+
5
import * as vscode from "vscode";
6
import * as stream from "stream";
7
import * as crypto from "crypto";
0 commit comments