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
{{ message }}
Repository navigation
You can only use optional-chaining when the 'optionalChaining' plugin is enabled. #2568
Activity
bakkot commentedon Jul 31, 2017
Prettier will need to add support for it explicitly.
We try to turn on all the optional syntax plugins, but when they add new node types they require making changes to Prettier.
We have a few others to do too - notably
optionalCatchBinding(#2570), to supporttry {} catch {}.Implement proposal-optional-chaining
Implement proposal-optional-chaining
Implement proposal-optional-chaining (#2572)