Skip to content

Commit

Permalink
Correct type of timestamp_ms to integer
Browse files Browse the repository at this point in the history
  • Loading branch information
mnishiguchi committed Aug 29, 2021
1 parent 5b8bf08 commit 4bea60f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dypa01/measurement.ex
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ defmodule DYPA01.Measurement do
defstruct [:distance_mm, :timestamp_ms]

@type t :: %{
required(:timestamp_ms) => non_neg_integer(),
required(:timestamp_ms) => integer,
required(:distance_mm) => number,
optional(:__struct__) => atom
}
Expand Down

0 comments on commit 4bea60f

Please sign in to comment.