I have an existing Typescript class named APIResponse used in one Angular project that I would like to make available as an NPM package so that I can use it other projects. The class is not an Angular artifact (Service, Component, etc.). I think I only need to create a "standard" Typescript package, rather than generating an Angular library, and this question seems to support that.
However, the APIResponse class does reference the Angular class HttpErrorResponse from @angular/common/http.
Does referencing this class mean that I need to create an Angular library, or do I just need to add a dependency to an Angular package in package.json? And if so, which one?
This is the first time I've tried to publish an NPM package, so I'm still learning some of the language and terminology associated with this process.