Flow\'s docs say: When you create an object without any properties, you create an unsealed object type in Flow. Is it possible to create a sealed object without
When you create an object without any properties, you create an unsealed object type in Flow.
This is certainly one of Flow's warts. However, it has a fairly simple workaround. Just pass your object through Object.freeze:
Object.freeze
Object.freeze({})
Of course this only works if you weren't going to mutate it, but I find that in cases like this I rarely want to anyway.