fix: missing a return type in UnstableFetcher alias

This commit is contained in:
sxyazi
2025-08-23 12:35:40 +08:00
parent e95c7b384e
commit d7588f6d29
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
> [!WARNING]
> The plugin system is still in the early stage, and most of the plugins below only guarantee compatibility with the latest code of Yazi!
> The plugin system is still in its early stages, and most of the plugins below only guarantee compatibility with the latest code of Yazi!
>
> Please make sure that both your Yazi and plugins are on the `HEAD` to ensure proper functionality!

View File

@@ -7,6 +7,6 @@
---@field renamed boolean Whether to include renamed files in the status (or treat them as modified)
-- TODO: move this to `types.yazi` once it's get stable
---@alias UnstableFetcher fun(self: unknown, job: { files: File[] })
---@alias UnstableFetcher fun(self: unknown, job: { files: File[] }): boolean, Error?
---@alias Changes table<string, CODES>