'I am getting this error TS2563: The containing function or module body is too large for control flow analysis. after merging the branches

I have two ng-template in the HTML page out of one is getting this error. in the ng-template we have two buttons named as "OK" and "CANCLE". I am not sure whether it is because linting issue or any condition is getting triggered at DOM level. error screenshot



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source