flowtype - How to represent a common Object type in Flow? -
var obj: object;
seems work, couldn't find syntax in docs. or should see class type object?
ps: common object type, mean value of type should satisfy:
value && typeof value === 'object'
var obj: object;
seems work, couldn't find syntax in docs. or should see class type object?
ps: common object type, mean value of type should satisfy:
value && typeof value === 'object'
Comments
Post a Comment