fix: missing a return type in UnstableFetcher alias
This commit is contained in:
@@ -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!
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user