From 228f9c207f8320908325a553c96e465da08fc617 Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Wed, 27 May 2020 00:02:16 +1000 Subject: Use ts-expect-error instead of ts-ignore. (#5869) --- std/ws/mod.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'std/ws') 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( -- cgit v1.2.3