mirror of
https://github.com/xazukx/ts-rs.git
synced 2026-11-19 22:40:25 +00:00
Fix typo in docs for #[ts(rename_all_fields)] (#368)
This commit is contained in:
+1
-1
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user