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
The text was updated successfully, but these errors were encountered:
xLama
changed the title
Destructuring object can´t be an optional type parameter
Destructuring object can´t be an optional type parameter with default value
Aug 30, 2015
TS 1.7.0
This is valid ES6 from Mozilla but invalid TS:
To get it works, we must remove "= {}", so we can`t invoke function without arguments:
But It works with array destructuring :
I think empty object should work with default values:
Should it work with no default values ?
Firefox screenshoot:
The text was updated successfully, but these errors were encountered: