From 722a1c4df2ef34f16a19ce6594a3c2ffb7718249 Mon Sep 17 00:00:00 2001 From: Boshen Date: Sat, 11 Mar 2023 01:15:43 +0800 Subject: [PATCH] fix(ast): fix Serialization on `ImportOrExportKind` --- crates/oxc_ast/src/ast/ts.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/oxc_ast/src/ast/ts.rs b/crates/oxc_ast/src/ast/ts.rs index 251814aa7..4653bbe64 100644 --- a/crates/oxc_ast/src/ast/ts.rs +++ b/crates/oxc_ast/src/ast/ts.rs @@ -911,7 +911,7 @@ pub struct TSInstantiationExpression<'a> { } #[derive(Debug, Serialize, Clone, Copy, PartialEq, Eq, Hash)] -#[serde(untagged, rename_all = "camelCase")] +#[serde(rename_all = "camelCase")] pub enum ImportOrExportKind { Value, Type,