Skip to content

Commit

Permalink
fix: serde camel case
Browse files Browse the repository at this point in the history
  • Loading branch information
ClarkXia committed Feb 22, 2024
1 parent 1a4f89f commit 35e0cf0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/swc_change_package_import/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ pub struct SpecificConfigs {
}

#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct MapProperty {
pub to: String,
pub import_type: Option<ImportType>,
Expand Down

0 comments on commit 35e0cf0

Please sign in to comment.