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 dfd0626 + e65cd07 commit 021e97eCopy full SHA for 021e97e
editors/code/src/net.ts
@@ -1,7 +1,4 @@
1
-// 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
-
+import fetch from "node-fetch";
5
import * as vscode from "vscode";
6
import * as stream from "stream";
7
import * as crypto from "crypto";
0 commit comments