Describe the bug
Tests fail on Node.js >=23 with "The angle-bracket syntax for type assertions, <T>expr, is not supported in type strip mode. Instead, use the 'as' syntax: expr as T."
Reproduction
https://gitlab.archlinux.org/archlinux/packaging/packages/svelte-language-server/-/blob/0.17.16-1/PKGBUILD?ref_type=tags#L23-38
The package has to use nodejs-lts in the meantime.
Expected behaviour
Tests pass
System Info
- OS: Arch Linux
- IDE: Neovim
Which package is the issue about?
svelte-language-server
Additional Information, eg. Screenshots
Started working on this, but it's quite tedious. Maybe there's a way to automate it?
Describe the bug
Tests fail on Node.js >=23 with "The angle-bracket syntax for type assertions,
<T>expr, is not supported in type strip mode. Instead, use the 'as' syntax:expr as T."Reproduction
https://gitlab.archlinux.org/archlinux/packaging/packages/svelte-language-server/-/blob/0.17.16-1/PKGBUILD?ref_type=tags#L23-38
The package has to use
nodejs-ltsin the meantime.Expected behaviour
Tests pass
System Info
Which package is the issue about?
svelte-language-server
Additional Information, eg. Screenshots
Started working on this, but it's quite tedious. Maybe there's a way to automate it?