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
Commit f7fce3e
Browse filesBrowse the repository at this point in the historyBrowse files
Summary:
X-link: react/metro#2336
Upgrade the Prettier dev dependency from 3.10.0 to 3.10.2.
3.10.2 adds a semicolon after a `// prettier-ignore` class field, in front of any comment after it. Two Metro worker fields keep their Flow type in such a comment, so the result (`#plugins; /*: ... */`) doesn't parse. They now have an initializer (`= []`, `= undefined`), which keeps the comment inside the field and changes no behavior: an uninitialized field is already `undefined`, and the constructor always replaces `#plugins`.
Changelog: [Internal]
Reviewed By: SamChou19815
Differential Revision: D136322615
Signed-off-by: Noah Schiff <noahschiff@meta.com>
0 commit comments