mirror of
https://github.com/hanzoai/prettier.git
synced 2026-09-24 17:02:04 +00:00
6 lines
148 B
JavaScript
6 lines
148 B
JavaScript
// @flow
|
|
|
|
// unwrapping nested maybes should work
|
|
(('foo': ?(?string)): ?string); // ok
|
|
((123: ?(?number)): ?string); // error (only num ~> string)
|