I'm getting [ts] 'imgNum' is declared but never used. for the following code where I'm trying to construct an image src string:
let imgNum: string = [...].toString();
imgSrc = '${imgNum}of5.png';
How do I get it not to raise the error when I'm actually using that value?