Open chiroptical opened 1 year ago
I guess it refers to State = the result of the last invocation of the callback function) erlsom does not provide a declared/explicit type other than what the documentation offers, so it would be term()
I found this https://github.com/willemdj/erlsom/blob/583f4e3ee6a33dccb0e127a1ff37ed02e64c7cc0/src/erlsom.erl#L307-L308. I suppose you could define this type locally and use it.
I'll make a PR for that if you are interested.
https://github.com/kivra/restclient/blob/e5df6d6736afedbb58ecd8681202bf2fe8637c12/src/restc.erl#L62
I was messing with https://github.com/josefs/Gradualizer and it throws an error that this type doesn't exist.
Unsure what type is supposed to be here, if any. Can PR with a bit more information