From 3fe6bc1b82a10bed1d907b749b1cc200659df612 Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Tue, 2 Jun 2020 14:24:44 +1000 Subject: fix: Better use of @ts-expect-error (#6038) --- std/mime/multipart_test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'std/mime') diff --git a/std/mime/multipart_test.ts b/std/mime/multipart_test.ts index 07f27b39d..858dc3919 100644 --- a/std/mime/multipart_test.ts +++ b/std/mime/multipart_test.ts @@ -145,8 +145,8 @@ test("multipartMultipartWriter3", async function (): Promise { ); await assertThrowsAsync( async (): Promise => { - // @ts-expect-error - await mw.writeFile("bar", "file", null); + // eslint-disable-next-line @typescript-eslint/no-explicit-any + await mw.writeFile("bar", "file", null as any); }, Error, "closed" -- cgit v1.2.3