-
Antonin Décimo authored
The best TSDoc type is (Text|HTMLElement)[], but to JSDoc the array is not distributive. JSDoc prefers Text[]|HTMLElement[], but TSDoc rejects that syntax. In the end, both are fine with Array.<Text|HTMLElement>.
59507c81
The best TSDoc type is (Text|HTMLElement)[], but to JSDoc the array is not distributive. JSDoc prefers Text[]|HTMLElement[], but TSDoc rejects that syntax. In the end, both are fine with Array.<Text|HTMLElement>.