摘要 |
Systems, methods and computer readable media for user event payload type checking are disclosed. In some implementations, the method can include receiving a hierarchy of nodes, and associating an annotation element with one or more nodes, the annotation element corresponding to an event of a first type. The method can also include determining a second type based on a declaration of the event, and creating payloads of the second type corresponding to the event. The method can further include performing type checking on event and corresponding payloads. |