Typescript error when resolve has a query string parameter

#14103

Development PRs

Issue

types / typescript
Closed at Mar 3, 2026, 11:03 AM
M
mikenikles
Aug 4, 2025, 10:05 PM

Describe the bug

This is fine:

Image

This should be fine, but is not:

Image

Reproduction

Use the new resolve function with a query string parameter in the first parameter's string.

Logs

System Info

npx envinfo --system --npmPackages svelte,rollup,webpack --binaries --browsers

  System:
    OS: macOS 15.5
    CPU: (8) arm64 Apple M2
    Memory: 227.25 MB / 16.00 GB
    Shell: 3.7.1 - /Users/m/.local/share/devbox/global/default/.devbox/nix/profile/default/bin/fish
  Binaries:
    Node: 22.14.0 - ~/projects/github/pipestack/webapp/main/.devbox/nix/profile/default/bin/node
    npm: 10.9.2 - ~/projects/github/pipestack/webapp/main/.devbox/nix/profile/default/bin/npm
  Browsers:
    Brave Browser: 137.1.79.118
    Chrome: 138.0.7204.184
    Safari: 18.5
  npmPackages:
    svelte: ^5.37.3 => 5.37.3

Severity

blocking an upgrade of svelte

👍 4