Skip to content

Commit d54165d

Browse files
committed
feat(ts): Remove allowSyntheticDefaultImports
1 parent 963c3de commit d54165d

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

packages/node/src/proxy/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828

2929
/* eslint-disable @typescript-eslint/explicit-member-accessibility */
3030
/* eslint-disable @typescript-eslint/no-unused-vars */
31-
import assert from 'assert';
3231
import type * as http from 'http';
3332
import type { OutgoingHttpHeaders } from 'http';
3433
import * as net from 'net';
@@ -190,8 +189,6 @@ export class HttpsProxyAgent<Uri extends string> extends Agent {
190189
// Need to wait for the "socket" event to re-play the "data" events.
191190
req.once('socket', (s: net.Socket) => {
192191
debug('Replaying proxy buffer for failed request');
193-
assert(s.listenerCount('data') > 0);
194-
195192
// Replay the "buffered" Buffer onto the fake `socket`, since at
196193
// this point the HTTP module machinery has been hooked up for
197194
// the user.

tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"extends": "./packages/typescript/tsconfig.json",
33

44
"compilerOptions": {
5-
"allowSyntheticDefaultImports": true,
65
"declaration": false,
76
"declarationMap": false,
87
"skipLibCheck": true,

0 commit comments

Comments
 (0)