Skip to content

Wrong types for throwOnError #5270

@marcoreni

Description

@marcoreni

Bug Description

Undici v7 removed "throwOnError" (https://blog.platformatic.dev/undici-v7-is-here#heading-removed-throwonerror-option ), however, types still include throwOnError:

throwOnError?: boolean;

Reproducible By

Expected Behavior

Types should be aligned to the implementation.

Logs & Screenshots

Environment

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions