TypeScript export was not found

Viewed 5735

since i updated the angular cli and nestjs versions I am getting hundreds of warnings that my custom type definitions and interfaces can not be found. But my nestjs api still works fine.

i am exporting my interface like this

export interface Role {...}

and getting this warning

WARNING in ./apps/api/src/app/users/dto/update-user.dto.ts 31:75-80
"export 'Role' was not found in '@project/api-datatypes'

my import looks like this

import { Role } from '@project/api-datatypes';

what was changed in the latest version and what do I have to do to fix those warnings?

currently i am running the following versions:

├── @angular/cli@11.0.6
├── @nestjs/cli@7.5.1
├── npm@6.14.4
├── nx@10.3.0
└── typescript@4.0.3
1 Answers
Related