mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 12:49:10 +00:00
build: migrate to dlint (#8176)
This commit migrates repository from using "eslint" to "dlint" for linting JavaScript code.
This commit is contained in:
parent
e736d0f60f
commit
8e914be742
124 changed files with 440 additions and 423 deletions
10
op_crates/fetch/lib.deno_fetch.d.ts
vendored
10
op_crates/fetch/lib.deno_fetch.d.ts
vendored
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue