Skip to content

Commit

Permalink
[ruff_wasm] Remove semicolon after TypeScript interface definition
Browse files Browse the repository at this point in the history
This removes a trailing semicolon after an interface definition in
the custom TypeScript section.  Currently, this semicolon triggers
the error "TS1036: Statements are not allowed in ambient contexts".
  • Loading branch information
leotaku committed Jan 30, 2025
1 parent 56f956a commit cdd3561
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/ruff_wasm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export interface Diagnostic {
};
}[];
} | null;
};
}
"#;

#[derive(Serialize, Deserialize, Eq, PartialEq, Debug)]
Expand Down

0 comments on commit cdd3561

Please sign in to comment.