Using inline Flow on vanilla (no framework) JS, these two alternatives seem to be different:
let a = {};
a.x = 1; // Warning
and
let a /*:Object*/ = {}
a.x = 1; // No warning
Why?
Using inline Flow on vanilla (no framework) JS, these two alternatives seem to be different:
let a = {};
a.x = 1; // Warning
and
let a /*:Object*/ = {}
a.x = 1; // No warning
Why?