Cannot build frontend part due to type error

As you can see on the screenshot, the error is coming from isolatedModules flag not used in
tsconfig.json
in /build/web-app dir. This prevents building frontend.
What fixes this is either use import type { Route } from '../../types' or adding a "isolatedModules": false to /build/web-app/tsconfig.json. But those are manual editions to the output files that is not desired. Anything that can be done on source side?

To reproduce, just generate a simple project and following Get started section, and try to build build/web-app folder. I don't know if I am the only one hitting this
image.png
Was this page helpful?