Currently, I am using lerna to develop multiple UI packages.
In my project, I am enhancing @material-ui/styles within package a by incorporating additional palette and typography definitions. Although I have successfully integrated the new types in package a, package b - which consists of components utilizing material-ui's components and makeStyles function - does not recognize these new types.
Despite installing package a in package b and attempting to import the module within the file where styles are created, I have not been able to resolve this issue. Additionally, specifying the "path" for material-ui in package b's tsconfig did not provide any solutions.
If I try to directly import package a into package b, will that potentially resolve the problem?
Has anyone encountered a similar challenge and found a successful resolution?
Due to working on a private repository, sharing it is not feasible. However, I can supply another demonstration repository showcasing the problem if necessary.