Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: adjust ambient module snipping logic
Since sveltejs/svelte#12061 the `declare module "*.svelte" {..}` declaration contains more closing braces and the logic to snip it out is now outdated. This updates the logic to instead look for the first bracket that comes directly after one line.
- Loading branch information