mirror of
https://github.com/SomboChea/ui
synced 2026-01-12 06:05:43 +07:00
fix: support deprecated license object properties
This commit is contained in:
@@ -5,7 +5,12 @@ export interface PackageMetaInterface {
|
||||
fileCount: number;
|
||||
unpackedSize: number;
|
||||
};
|
||||
license: string;
|
||||
license?: Partial<LicenseInterface> | string | null;
|
||||
};
|
||||
_uplinks: {};
|
||||
}
|
||||
|
||||
interface LicenseInterface {
|
||||
type: string;
|
||||
url: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user