Revert "fix syntax error (#2)"

This reverts commit 9071931395.
This commit is contained in:
DESKTOP-0P848CA\edinl_6z7c6t
2021-11-20 09:56:10 +08:00
parent 9071931395
commit a1bb6efab5
13 changed files with 1117 additions and 5017 deletions
+5 -5
View File
@@ -1,7 +1,7 @@
const http = require('http');
const Debug = require('debug');
const pump = require('pump');
const EventEmitter = require('events');
import http from 'http';
import Debug from 'debug';
import pump from 'pump';
import EventEmitter from 'events';
// A client encapsulates req/res handling using an agent
//
@@ -129,4 +129,4 @@ class Client extends EventEmitter {
}
}
module.exports = Client;
export default Client;