diff options
author | Bartek Iwańczuk <biwanczuk@gmail.com> | 2020-11-03 16:19:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-03 16:19:29 +0100 |
commit | 8e914be7420715620cad74fbb020c5e87ac875a2 (patch) | |
tree | 2fefc0111f85533de2bd24e54f70c6c1241e3d3b /op_crates/fetch/lib.deno_fetch.d.ts | |
parent | e736d0f60f6cdf38e2d317ee08a7125de9e57d69 (diff) |
build: migrate to dlint (#8176)
This commit migrates repository from using "eslint"
to "dlint" for linting JavaScript code.
Diffstat (limited to 'op_crates/fetch/lib.deno_fetch.d.ts')
-rw-r--r-- | op_crates/fetch/lib.deno_fetch.d.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/op_crates/fetch/lib.deno_fetch.d.ts b/op_crates/fetch/lib.deno_fetch.d.ts index 4a51bcc95..0b3036e2c 100644 --- a/op_crates/fetch/lib.deno_fetch.d.ts +++ b/op_crates/fetch/lib.deno_fetch.d.ts @@ -1,6 +1,6 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, no-var */ +// deno-lint-ignore-file no-explicit-any /// <reference no-default-lib="true" /> /// <reference lib="esnext" /> @@ -101,7 +101,7 @@ interface QueuingStrategy<T = any> { size?: QueuingStrategySizeCallback<T>; } -/** This Streams API interface provides a built-in byte length queuing strategy +/** This Streams API interface provides a built-in byte length queuing strategy * that can be used when constructing streams. */ declare class CountQueuingStrategy implements QueuingStrategy { constructor(options: { highWaterMark: number }); @@ -182,7 +182,7 @@ interface UnderlyingSink<W = any> { write?: WritableStreamDefaultControllerWriteCallback<W>; } -/** This Streams API interface provides a standard abstraction for writing +/** This Streams API interface provides a standard abstraction for writing * streaming data to a destination, known as a sink. This object comes with * built-in backpressure and queuing. */ declare class WritableStream<W = any> { @@ -351,8 +351,8 @@ type HeadersInit = Headers | string[][] | Record<string, string>; /** This Fetch API interface allows you to perform various actions on HTTP * request and response headers. These actions include retrieving, setting, * adding to, and removing. A Headers object has an associated header list, - * which is initially empty and consists of zero or more name and value pairs. - * You can add to this using methods like append() (see Examples.) In all + * which is initially empty and consists of zero or more name and value pairs. + * You can add to this using methods like append() (see Examples). In all * methods of this interface, header names are matched by case-insensitive byte * sequence. */ interface Headers { |