fast-equals icon indicating copy to clipboard operation
fast-equals copied to clipboard

InternalTypes.ts is claimed to be unused - Compilation warning in hosting project.

Open redevill opened this issue 5 months ago • 0 comments

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.

redevill avatar Jan 16 '24 16:01 redevill