mirror of
https://github.com/Gitlawb/openclaude.git
synced 2026-11-06 12:50:54 -04:00
build: prepare tsconfig and relay types for TypeScript 6 (#2348)
This commit is contained in:
@@ -63,7 +63,7 @@ const PING_INTERVAL_MS = 30_000
|
||||
* protobufjs would be the general answer; for a single-field bytes message
|
||||
* the hand encoding is 10 lines and avoids a runtime dep in the hot path.
|
||||
*/
|
||||
export function encodeChunk(data: Uint8Array): Uint8Array {
|
||||
export function encodeChunk(data: Uint8Array): Uint8Array<ArrayBuffer> {
|
||||
const len = data.length
|
||||
// varint encoding of length — most chunks fit in 1–3 length bytes
|
||||
const varint: number[] = []
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
"declaration": false,
|
||||
"outDir": "./dist",
|
||||
"rootDir": "./src",
|
||||
"baseUrl": ".",
|
||||
"types": ["bun", "node"],
|
||||
"paths": {
|
||||
"src/*": ["./src/*"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user