refactor: export NpmResponse interface

This commit is contained in:
Rhys Arkins 2021-02-24 15:15:22 +01:00
parent 7f75e5768b
commit 566f64cea0

View file

@ -42,7 +42,7 @@ export interface NpmDependency extends ReleaseResult {
sourceDirectory?: string;
}
interface NpmResponse {
export interface NpmResponse {
_id: string;
name?: string;
versions?: Record<
@ -55,6 +55,8 @@ interface NpmResponse {
homepage?: string;
deprecated?: boolean;
gitHead?: string;
dependencies?: Record<string, string>;
devDependencies?: Record<string, string>;
}
>;
repository?: {