You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I even found that trying to save on the type arguments causes a mismatch:
So the current proposal is to generate an addition member for each OAR handler, named as <event-name>_WithModel, with the same signature as the existing variant (TemplateEvent<...> -> unit).
The text was updated successfully, but these errors were encountered:
Currently, the templating TP generates the following event handler variants for binding OnAfterRender events:
This, however, runs into problems with disambiguation, so code like this doesn't type check properly, like it does with regular events:
Instead, one has to type annotate the handler argument, which gets pretty annoying:
I even found that trying to save on the type arguments causes a mismatch:
So the current proposal is to generate an addition member for each OAR handler, named as
<event-name>_WithModel
, with the same signature as the existing variant (TemplateEvent<...> -> unit
).The text was updated successfully, but these errors were encountered: