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:

  1. impls what’s needed for dominator
  2. calls make_custom_event_serde! to enable the .data() helper (also for dominator)
  3. creates a function for testing the round-tripping from typescript (when ts_test feature is enabled)