diff --git a/src/server/stdio.ts b/src/server/stdio.ts index 30c80012..fbbb9d75 100644 --- a/src/server/stdio.ts +++ b/src/server/stdio.ts @@ -1,3 +1,4 @@ +import type { Buffer } from "node:buffer"; import process from "node:process"; import { Readable, Writable } from "node:stream"; import { ReadBuffer, serializeMessage } from "../shared/stdio.js"; diff --git a/src/shared/stdio.test.ts b/src/shared/stdio.test.ts index b1227966..8e65857d 100644 --- a/src/shared/stdio.test.ts +++ b/src/shared/stdio.test.ts @@ -1,3 +1,4 @@ +import { Buffer } from "node:buffer"; import { JSONRPCMessage } from "../types.js"; import { ReadBuffer } from "./stdio.js"; diff --git a/src/shared/stdio.ts b/src/shared/stdio.ts index 52bde646..ff320ffa 100644 --- a/src/shared/stdio.ts +++ b/src/shared/stdio.ts @@ -1,3 +1,4 @@ +import { Buffer } from "node:buffer"; import { JSONRPCMessage, JSONRPCMessageSchema } from "../types.js"; /**