Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlomieju committed Jul 8, 2024
1 parent aa2f449 commit 82a25ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions src/interface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 188,8 @@ pub fn get_doc_for_ts_interface_decl(
.as_deref()
.map(|type_ann| TsTypeDef::new(parsed_source, &type_ann.type_ann));

let type_params = maybe_type_param_decl_to_type_param_defs(
parsed_source,
None,
);
let type_params =
maybe_type_param_decl_to_type_param_defs(parsed_source, None);

let prop_def = PropertyDef {
name,
Expand Down
6 changes: 2 additions & 4 deletions src/ts_type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -440,10 440,8 @@ impl TsTypeDef {
.as_ref()
.map(|rt| TsTypeDef::new(parsed_source, &rt.type_ann));

let type_params = maybe_type_param_decl_to_type_param_defs(
parsed_source,
None,
);
let type_params =
maybe_type_param_decl_to_type_param_defs(parsed_source, None);
let prop_def = PropertyDef {
name,
js_doc,
Expand Down

0 comments on commit 82a25ba

Please sign in to comment.