Skip to content

Typescript v5.6.2 resulting in "Overload signatures must all be optional or required." on alpine linux arm64Β #59982

@Pranav2612000

Description

@Pranav2612000

πŸ”Ž Search Terms

"Overload signature must all be optional", "error TS2386"

πŸ•— Version & Regression Information

  • This changed between versions 5.6.2 and earlier versions

⏯ Playground Link

πŸ’» Code

// Your code here

πŸ™ Actual behavior

tsc threw an error when trying to compile node types

node_modules/@types/node/module.d.ts(107,13): error TS2386: Overload signatures must all be optional or required.

πŸ™‚ Expected behavior

tsc should have been able to compile correctly but threw an error

Additional information about the issue

This worked when downgrading typescript to 5.1.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    ExternalRelates to another program, environment, or user action which we cannot control.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions