Skip to content

Commit 7e49dd4

Browse files
committed
Fix typespecs
1 parent dece98e commit 7e49dd4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/ex_ice/ice_agent.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ defmodule ExICE.ICEAgent do
6969
optional(:credential) => String.t()
7070
}
7171
],
72-
ice_transport_policy: :all | :relay | nil,
72+
ice_transport_policy: :all | :relay,
7373
on_gathering_state_change: pid() | nil,
7474
on_connection_state_change: pid() | nil,
7575
on_data: pid() | nil,

lib/ex_ice/priv/candidate_pair.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ defmodule ExICE.Priv.CandidatePair do
1111

1212
@type t() :: %__MODULE__{
1313
id: integer(),
14-
local_cand_id: Candidate.id(),
14+
local_cand_id: integer(),
1515
nominate?: boolean(),
1616
nominated?: boolean(),
1717
priority: non_neg_integer(),
18-
remote_cand_id: Candidate.id(),
18+
remote_cand_id: integer(),
1919
state: state(),
2020
valid?: boolean,
2121
succeeded_pair_id: integer() | nil,

0 commit comments

Comments
 (0)