diff options
author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-09-17 07:57:53 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-17 07:57:53 +1000 |
commit | 51d926ac30413a6747505b3f248f43a563470545 (patch) | |
tree | d44723e47ccfe8a6a386f910079aca88f1bb3cf9 /runtime/js/40_fs_events.js | |
parent | 8fe90d286160d6cc585e18b1a2f4e29bd1523852 (diff) |
chore(fs): undeprecate `Deno.FsWatcher.prototype.return()` (#25623)
Diffstat (limited to 'runtime/js/40_fs_events.js')
-rw-r--r-- | runtime/js/40_fs_events.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/runtime/js/40_fs_events.js b/runtime/js/40_fs_events.js index a1c40c5e5..c20f9ed23 100644 --- a/runtime/js/40_fs_events.js +++ b/runtime/js/40_fs_events.js @@ -49,10 +49,7 @@ class FsWatcher { } } - // TODO(kt3k): This is deprecated. Will be removed in v2.0. - // See https://github.com/denoland/deno/issues/10577 for details return(value) { - internals.warnOnDeprecatedApi("Deno.FsWatcher.return()", new Error().stack); core.close(this.#rid); return PromiseResolve({ value, done: true }); } |