fix(ast): fix Serialization on ImportOrExportKind

This commit is contained in:
Boshen 2023-03-11 01:15:43 +08:00
parent 1530b2695f
commit 722a1c4df2
No known key found for this signature in database
GPG key ID: 6AC90C77AAAA6ABC

View file

@ -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,