diff options
Diffstat (limited to 'cli/msg.rs')
-rw-r--r-- | cli/msg.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cli/msg.rs b/cli/msg.rs index 146f45ea5..186fde42c 100644 --- a/cli/msg.rs +++ b/cli/msg.rs @@ -2,9 +2,11 @@ // Warning! The values in this enum are duplicated in js/compiler.ts // Update carefully! +use serde::Serialize; + #[allow(non_camel_case_types)] #[repr(i8)] -#[derive(Clone, Copy, PartialEq, Debug)] +#[derive(Clone, Copy, PartialEq, Debug, Serialize)] pub enum MediaType { JavaScript = 0, JSX = 1, |