You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS Version: Windows 10 Pro Version 10.0.19041 Build 19041
After upgrading today to 1.46.1 I started to get many ts(2554) errors (expected X arguments, but got Y) when omitting optional args on a class member function.
For example:
// main.jsvarUtils=require('./utils.js');varsc=newUtils.SomeClass();sc.foo();// This will errorUtils.foo();// no errorinnerFoo();// no errorfunctioninnerFoo(a){console.log(a);}
Attached screenshot with this simple example:
The text was updated successfully, but these errors were encountered:
After upgrading today to 1.46.1 I started to get many
ts(2554)
errors (expected X arguments, but got Y) when omitting optional args on a class member function.For example:
Attached screenshot with this simple example:

The text was updated successfully, but these errors were encountered: