From cdd35619b7212bad001911a79990c1e2dd3aa21f Mon Sep 17 00:00:00 2001 From: Leo Gaskin Date: Thu, 30 Jan 2025 13:54:03 +0100 Subject: [PATCH] [`ruff_wasm`] Remove semicolon after TypeScript interface definition 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". --- crates/ruff_wasm/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ruff_wasm/src/lib.rs b/crates/ruff_wasm/src/lib.rs index 04d2e568b4903..69bb06f646d90 100644 --- a/crates/ruff_wasm/src/lib.rs +++ b/crates/ruff_wasm/src/lib.rs @@ -53,7 +53,7 @@ export interface Diagnostic { }; }[]; } | null; -}; +} "#; #[derive(Serialize, Deserialize, Eq, PartialEq, Debug)]