Similar to our test failures, others have struggled with dtslint failing
(false negative) due to inconsistent union type ordering. It appears
that $ExpectType can be extended to list different orderings for
union types (permutations). In our case we have encountered issues with
this rule:
Similar to our test failures, others have struggled with dtslint failing (false negative) due to inconsistent union type ordering. It appears that $ExpectType can be extended to list different orderings for
union types (permutations). In our case we have encountered issues with
this rule:
Extending this rule with an alternative ordering: