fix(ds): Correct typespec

This commit is contained in:
Andrew Mayorov 2023-01-16 17:26:57 +03:00 committed by ieQu1
parent f5a7b49f57
commit f80e906553
1 changed files with 2 additions and 1 deletions

View File

@ -396,7 +396,8 @@ refresh_iterator(It = #it{handle = Handle, cursor = Cursor, next_action = Action
%% Internal exports
%%================================================================================
-spec keymapper_info(keymapper()) -> [bitsource()].
-spec keymapper_info(keymapper()) ->
#{source := [bitsource()], bitsize := bits(), epoch := time()}.
keymapper_info(#keymapper{source = Source, bitsize = Bitsize, epoch = Epoch}) ->
#{source => Source, bitsize => Bitsize, epoch => Epoch}.