fix(ds): fix `drop_generation` typespec

This typespec fix will be used downstream by other backends.
This commit is contained in:
Thales Macedo Garitezi 2024-03-04 14:15:59 -03:00
parent 8b66ea7852
commit 06334798a5
1 changed files with 1 additions and 1 deletions

View File

@ -263,7 +263,7 @@ list_generations_with_lifetimes(DB) ->
Mod = ?module(DB),
call_if_implemented(Mod, list_generations_with_lifetimes, [DB], #{}).
-spec drop_generation(db(), generation_rank()) -> ok | {error, _}.
-spec drop_generation(db(), ds_specific_generation_rank()) -> ok | {error, _}.
drop_generation(DB, GenId) ->
Mod = ?module(DB),
case erlang:function_exported(Mod, drop_generation, 2) of