How to get rid of the warning .ts file is part of the TypeScript compilation but it’s unused

It turned out that you need to remove this line from “include”
"src/**/*.ts" from tsconfig.app.json and only keep entry points in files (main.ts and polyfills.ts)

Leave a Comment