When ever I setup this project, I am facing this error. This is happening for some of the packages, while importing them inside nodue_modules folder. This showing like :
import type { Rect } from "./common";
import type { Grid, ICellMapper } from "./common/grid";
Due to the string "type" after import, is causing this problem, I upgraded packages but doesn't work.