fast-equals
fast-equals copied to clipboard
InternalTypes.ts is claimed to be unused - Compilation warning in hosting project.
Environment:
Node 18.19.0 Angular 17 Typescript 5.2.2
tsconfig in the hosting project has the standard type_roots
"typeRoots": [
"node_modules/@types"
]
WARNING:
/HostingProject/node_modules/fast-equals/src/internalTypes.ts is part of the TypeScript compilation but it's unused. Add only entry points to the 'files' or 'include' properties in your tsconfig.
Attempted workarounds:
Put a specific exclusion for the file in the tsconfig for the hosting project - NOT WORKING. Make sure that node_modules is excluded from the build set.