Advertisement
Ameisen

Untitled

Feb 11th, 2021
737
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Current:
  2.  
  3. internal static Event Unspecialized<T>(Event<T> ev) where T : Element => ev;
  4. internal static MouseEvent Unspecialized<T>(MouseEvent<T> ev) where T : Element => ev;
  5. internal static KeyboardEvent Unspecialized<T>(KeyboardEvent<T> ev) where T : Element => ev;
  6.  
  7. 'Ideal':
  8.  
  9. internal static U Unspecialized<T, U>(U<T> ev) where T : Element where U : Event<?>, Event => ev;
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement