fix: correct typespec
This commit is contained in:
parent
464db76a52
commit
16736eca0f
|
@ -396,7 +396,8 @@ refresh_iterator(It = #it{handle = Handle, cursor = Cursor, next_action = Action
|
||||||
%% Internal exports
|
%% 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}) ->
|
keymapper_info(#keymapper{source = Source, bitsize = Bitsize, epoch = Epoch}) ->
|
||||||
#{source => Source, bitsize => Bitsize, epoch => Epoch}.
|
#{source => Source, bitsize => Bitsize, epoch => Epoch}.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue