mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-18 17:40:37 +00:00
![]() ## Summary This PR removes a trailing semicolon after an interface definition in the custom TypeScript section of `ruff_wasm`. Currently, this semicolon triggers the error "TS1036: Statements are not allowed in ambient contexts" when including the file and compiling with e.g `tsc`. ## Test Plan I made the change, ran `wasm-pack` and copied the generated directory manually to my `node_modules` folder. I then compiled a file importing `@astral-sh/ruff-wasm-web` again and confirmed that the compilation error was gone. |
||
---|---|---|
.. | ||
lib.rs |