π 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
π 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