I've been utilizing NRWL to organize my projects. Currently, I'm working on two projects that require custom definition files for TypeScript - namely json-typings.d.ts and custom.d.ts.
For example, here's the content of the json-typings.d.ts definition file:
declare module '*.json' {
const value: any;
export default value;
}
You can find more information about this at
Every time I run either app-project-1 or app-project-2, I have to manually add these custom definition files to each project, resulting in duplicates. I even attempted placing them in the libs or apps folder, but it didn't solve the issue.
Is there a solution to streamline this process?
Thank you