Macro dominator_helpers::make_ts_event [−][src]
macro_rules! make_ts_event { ($literal:literal, $data:ident) => { ... }; }
Expand description
takes a literal and an ident and does the following:
- impls what’s needed for dominator
- calls make_custom_event_serde! to enable the .data() helper (also for dominator)
- creates a function for testing the round-tripping from typescript (when ts_test feature is enabled)