Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion dev-packages/browser-integration-tests/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"lib": ["dom", "es2019"],
"moduleResolution": "node",
"noEmit": true,
"strict": true
"strict": true,
"allowSyntheticDefaultImports": true
},
"include": ["**/*.ts"],
"exclude": ["node_modules"]
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs/src/config/loaders/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type webpack from 'webpack';
import type * as webpack from 'webpack';

export type LoaderThis<Options> = {
/**
Expand Down
3 changes: 0 additions & 3 deletions packages/node/src/proxy/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@

/* eslint-disable @typescript-eslint/explicit-member-accessibility */
/* eslint-disable @typescript-eslint/no-unused-vars */
import assert from 'assert';
import type * as http from 'http';
import type { OutgoingHttpHeaders } from 'http';
import * as net from 'net';
Expand Down Expand Up @@ -190,8 +189,6 @@ export class HttpsProxyAgent<Uri extends string> extends Agent {
// Need to wait for the "socket" event to re-play the "data" events.
req.once('socket', (s: net.Socket) => {
debug('Replaying proxy buffer for failed request');
assert(s.listenerCount('data') > 0);

// Replay the "buffered" Buffer onto the fake `socket`, since at
// this point the HTTP module machinery has been hooked up for
// the user.
Expand Down
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"extends": "./packages/typescript/tsconfig.json",

"compilerOptions": {
"allowSyntheticDefaultImports": true,
"declaration": false,
"declarationMap": false,
"skipLibCheck": true,
Expand Down