Skip to content

RecursiveFormFields type is missing the definition for the allIssues method #14687

@x0k

Description

@x0k

Describe the bug

When using form with the unchecked parameter, the type of the remoteForm.fields property is inferred as RecursiveFormFields, which does not include the definition of the allIssues method.

Reproduction

The allIssues method is defined in RemoteFormFieldContainer, but it becomes inaccessible due to an early return in this condition.

Logs

System Info

System:
    OS: Linux 6.12 cpe:/o:nixos:nixos:25.05 25.05 (Warbler)
    CPU: (12) x64 Intel(R) Core(TM) i5-10400F CPU @ 2.90GHz
    Memory: 2.90 GB / 15.56 GB
    Container: Yes
    Shell: 5.2.37 - /run/current-system/sw/bin/bash
  Binaries:
    Node: 24.7.0 - /nix/store/ffx0ixqnd6arwnjqmjv844krhay4iycj-nodejs-24.7.0/bin/node
    npm: 11.5.1 - /nix/store/ffx0ixqnd6arwnjqmjv844krhay4iycj-nodejs-24.7.0/bin/npm
    pnpm: 10.15.1 - /nix/store/dmnyvw4gf3i8b65s3k7q4ws3257m6zrs-pnpm-10.15.1/bin/pnpm
  Browsers:
    Brave Browser: 140.1.82.170
  npmPackages:
    @sveltejs/adapter-auto: ^6.1.0 => 6.1.0 
    @sveltejs/adapter-static: ^3.0.9 => 3.0.9 
    @sveltejs/kit: ^2.46.4 => 2.46.4 
    @sveltejs/package: 2.5.4 => 2.5.4 
    @sveltejs/vite-plugin-svelte: ^6.2.1 => 6.2.1 
    vite: catalog: => 7.1.9

Severity

annoyance

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions