Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
petamoriken committed Jul 28, 2024
1 parent 42c8149 commit be8358b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ext/web/lib.deno_web.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -743,12 +743,12 @@ declare interface UnderlyingSourceStartCallback<R> {

// TODO(petamoriken): Will be removed in v2.0.
/**
* @deprecated use `(controller: ReadableStreamDefaultController<R>): void | PromiseLike<void>` instead.
* @deprecated use `(controller: ReadableStreamDefaultController<R>) => void | PromiseLike<void>` type instead.
* @category Streams
*/
declare interface ReadableStreamDefaultControllerCallback<R> {
(controller: ReadableStreamDefaultController<R>): void | PromiseLike<void>;
}
declare type ReadableStreamDefaultControllerCallback<R> = (
controller: ReadableStreamDefaultController<R>,
) => void | PromiseLike<void>;

/** @category Streams */
declare interface ReadableStreamDefaultController<R = any> {
Expand Down

0 comments on commit be8358b

Please sign in to comment.