Flow Type Error -- OrderedSet is not callable
Author: sanjaypojoCreated Nov 7, 2018Updated Jul 16, 2025
Labelsflow
OrderedSet possesses a constructor, but flow throws an error if you try to use it.
Ex: let foo = OrderedSet([2,4,6])
Error: Cannot call OrderedSet because a callable signature is missing in statics of OrderedSet
Source: immutable-js/immutable-js