summaryrefslogtreecommitdiff
path: root/std/ws/mod.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/ws/mod.ts')
-rw-r--r--std/ws/mod.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/ws/mod.ts b/std/ws/mod.ts
index 324588af0..97c77baab 100644
--- a/std/ws/mod.ts
+++ b/std/ws/mod.ts
@@ -491,7 +491,7 @@ export async function handshake(
throw new Error("ws: invalid status line: " + statusLine);
}
- // @ts-ignore
+ // @ts-expect-error
const { version, statusCode } = m.groups;
if (version !== "HTTP/1.1" || statusCode !== "101") {
throw new Error(