Skip to content

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-ebey committed Oct 25, 2023
1 parent c7cbb45 commit 26a47cf
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/turbo-stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,6 @@ export async function decode(readable: ReadableStream<Uint8Array>) {
};
}

class SyntaxError extends Error {
name = "SyntaxError";
constructor(message?: string) {
super(message ?? `Invalid input`);
}
}

async function decodeInitial(
this: ThisDecode,
reader: ReadableStreamDefaultReader<string>
Expand Down

0 comments on commit 26a47cf

Please sign in to comment.