Update Sonar from 0.69.0 to 0.70.0
Summary: All the new errors were missing annotation errors. I fixed as many as I could by adding annotations. For the rest I added a $FlowFixMe suppression type. Reviewed By: nmote Differential Revision: D8756267 fbshipit-source-id: a69b6e21525b9b12e582ff18dcb1eeea584abb2a
This commit is contained in:
committed by
Facebook Github Bot
parent
d45bc14cce
commit
51741a2741
@@ -233,7 +233,6 @@ export default class Layout extends SonarPlugin<InspectorState> {
|
||||
|
||||
for (const element of elements) {
|
||||
const current = updatedElements[element.id] || {};
|
||||
// $FlowFixMe
|
||||
updatedElements[element.id] = {
|
||||
...current,
|
||||
...element,
|
||||
@@ -248,7 +247,6 @@ export default class Layout extends SonarPlugin<InspectorState> {
|
||||
|
||||
for (const element of elements) {
|
||||
const current = updatedElements[element.id] || {};
|
||||
// $FlowFixMe
|
||||
updatedElements[element.id] = {
|
||||
...current,
|
||||
...element,
|
||||
|
||||
Reference in New Issue
Block a user