Skip to content

Commit 0610b52

Browse files
chore: apply automated lint fixes
1 parent 498a540 commit 0610b52

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/adapters/plain.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { IncomingMessage } from "node:http";
12
import { IncomingMessage as NodeIncomingMessage } from "unenv/runtime/node/http/_request";
23
import { ServerResponse as NodeServerResponse } from "unenv/runtime/node/http/_response";
34
import type { App } from "../app";
@@ -10,7 +11,6 @@ import {
1011
setResponseStatus,
1112
splitCookiesString,
1213
} from "../utils";
13-
import { IncomingMessage } from "node:http";
1414

1515
export interface PlainRequest {
1616
_eventOverrides?: Partial<H3Event>;
@@ -67,7 +67,8 @@ export async function _handlePlainRequest(app: App, request: PlainRequest) {
6767

6868
// Shim for Node.js request and response objects
6969
// TODO: Remove in next major version
70-
const nodeReq = new NodeIncomingMessage() as unknown /* unenv */ as IncomingMessage;
70+
const nodeReq =
71+
new NodeIncomingMessage() as unknown /* unenv */ as IncomingMessage;
7172
const nodeRes = new NodeServerResponse(nodeReq);
7273

7374
// Fill node request properties

0 commit comments

Comments
 (0)