You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like an easy fix to me, something that can be a good first PR. If anyone is interested, the task is to enhance both visitor rules in this file to check if node.types.length == 2 and one of the nodes in node.types is of type "NullLiteralTypeAnnotation" if this option is enabled, and to update the rule schema.
@gajus If nobody takes this up, I will do it in (hopefully) near future in a free while.
Most of the
require-compound-type-alias
errors that I get refer to explicitor NULL
types, e.g.In this case creating a separate type would have little added value.
The text was updated successfully, but these errors were encountered: