Use ts-expect-error instead of ts-ignore. (#5869)

This commit is contained in:
Kitson Kelly 2020-05-27 00:02:16 +10:00 committed by GitHub
parent 24c36fd862
commit 228f9c207f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
34 changed files with 81 additions and 94 deletions

View file

@ -282,7 +282,7 @@ export async function fetch(
method = input.method;
headers = input.headers;
//@ts-ignore
//@ts-expect-error
if (input._bodySource) {
body = new DataView(await input.arrayBuffer());
}