Skip to content

Commit

Permalink
Fix typo in docs for #[ts(rename_all_fields)] (#368)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastinez authored Nov 13, 2024
1 parent 0ff3c81 commit 93aec35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ts-rs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 93aec35

Please sign in to comment.