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-aliaserrors that I get refer to explicit
or NULLtypes, e.g.
In this case creating a separate type would have little added value.
The text was updated successfully, but these errors were encountered: