My program runs smoothly in a development environment and appears flawless in VSCode, but I'm encountering issues with tsc pointing out unknown names and properties. It's puzzling because my file doesn't seem to have any problems in VSCode.
Does anyone have insight into this issue or suggestions on how to resolve it?
These are the error messages: https://i.stack.imgur.com/iBLDH.png
In this screenshot, you'll notice that my editor recognizes CSS.px(): https://i.stack.imgur.com/opX8Q.png
It also acknowledges CSSTransformValue: https://i.stack.imgur.com/sbqie.png
The situation is similar when dealing with CSSTranslate and attributeStyleMap applied to an SVGGElement.
You can find the complete source code here: https://github.com/TradeIdeasPhilip/classic-chuzzle/tree/55df4a64623755c238ff97fadac0c8205982a8b7
I would greatly appreciate any insights or recommendations on how to address this issue. Thank you!