Fix typo in docs for #[ts(rename_all_fields)] (#368)

This commit is contained in:
Sebastian Martinez
2024-11-13 09:23:32 -03:00
committed by GitHub
parent 0ff3c816ed
commit 93aec35cef
+1 -1
View File
@@ -343,7 +343,7 @@ mod tokio;
/// Valid values are `lowercase`, `UPPERCASE`, `camelCase`, `snake_case`, `PascalCase`, `SCREAMING_SNAKE_CASE`, "kebab-case" and "SCREAMING-KEBAB-CASE"
/// <br/><br/>
///
/// - **`#[ts(rename_all_fieds = "..")]`**
/// - **`#[ts(rename_all_fields = "..")]`**
/// Renames the fields of all the struct variants of this enum. This is equivalent to using
/// `#[ts(rename_all = "..")]` on all of the enum's variants.
/// Valid values are `lowercase`, `UPPERCASE`, `camelCase`, `snake_case`, `PascalCase`, `SCREAMING_SNAKE_CASE`, "kebab-case" and "SCREAMING-KEBAB-CASE"