Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
DonIsaac committed Sep 23, 2024
1 parent b3e4131 commit 721af60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/oxc_ast/src/ast/js.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1775,7 +1775,7 @@ pub struct BindingRestElement<'a> {
/// ```ts
/// // Function overloads will not have a body
/// function add(a: number, b: number): number; // <-- No body
/// function add(a: string, b: string): string; // <-- No bod
/// function add(a: string, b: string): string; // <-- No body
/// function add(a: any, b: any): any { // <-- Body is between `{}`, inclusive.
/// return a + b;
/// }
Expand Down

0 comments on commit 721af60

Please sign in to comment.