Test case: [playground](https://www.typescriptlang.org/play?#code/JYWwDg9gTgLgBAbzgIQIYGcCmcC+cBmUEIcARAFaoBuGAxlMGDALRgA2ArgObAB2zqKLQAWwGJlowOUTMwDuY4cxgBPMJnT1GLACaZ8fMcAi90pANwAoS70xyUGTAAoAlEA) --- Screenshot <img width="776" alt="image" src="https://user-images.githubusercontent.com/39992/126394080-54bf76ca-3e96-4db4-a16a-6aab285c759e.png">