From 55d5524a9bd60df13c4bee7ab6f1c1a3a8aebd73 Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Tue, 20 Aug 2024 13:46:06 +1000 Subject: [PATCH] chore(async): add browser-compat declarations (#5730) --- async/deadline.ts | 7 ++----- async/mod.ts | 6 +----- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/async/deadline.ts b/async/deadline.ts index 08e4ca904..add5a6f48 100644 --- a/async/deadline.ts +++ b/async/deadline.ts @@ -1,9 +1,6 @@ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. -// TODO(iuioiua): Add web-compatible declaration once TypeScript 5.5 is released -// and in the Deno runtime. See https://github.com/microsoft/TypeScript/pull/58211 -// -// Note: this code is still compatible with recent -// web browsers. See https://caniuse.com/?search=AbortSignal.any +// This module is browser compatible. + import { abortable } from "./abortable.ts"; /** Options for {@linkcode deadline}. */ diff --git a/async/mod.ts b/async/mod.ts index 3dfccf023..d5f1a89dc 100644 --- a/async/mod.ts +++ b/async/mod.ts @@ -1,9 +1,5 @@ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. -// TODO(iuioiua): Add web-compatible declaration once TypeScript 5.5 is released -// and in the Deno runtime. See https://github.com/microsoft/TypeScript/pull/58211 -// -// Note: this code is still compatible with recent -// web browsers. See https://caniuse.com/?search=AbortSignal.any +// This module is browser compatible. /** * Provide helpers with asynchronous tasks like {@linkcode delay | delays},