-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cleanup: Add @spec annotations to Dotcom.SystemStatus.Subway #2360
Conversation
bb8dec0
to
c00f06a
Compare
d5960a6
to
2abf5d9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one thing, this is great 🎉
lib/dotcom/system_status/subway.ex
Outdated
@type status_time() :: :current | {:future, DateTime.t()} | ||
|
||
@type status_entry() :: %{ | ||
status: atom(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This atom's:normal
or Alerts.Alert.effect()
right? I'd rather that be described explicitly... even better if we could have a type that's limited to the effects we care about.
2abf5d9
to
e703c2e
Compare
@thecristen PTALA e703c2e 🙏 |
Follow-up to:
Specifically, this comment.