diff --git a/src/turbo-stream.ts b/src/turbo-stream.ts index 553ad11..47da5c5 100644 --- a/src/turbo-stream.ts +++ b/src/turbo-stream.ts @@ -44,13 +44,6 @@ export async function decode(readable: ReadableStream) { }; } -class SyntaxError extends Error { - name = "SyntaxError"; - constructor(message?: string) { - super(message ?? `Invalid input`); - } -} - async function decodeInitial( this: ThisDecode, reader: ReadableStreamDefaultReader