1
0
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:
Griffithtp
2019-07-06 10:50:09 +01:00
parent 283464fd13
commit b2e420dbd9
4 changed files with 41 additions and 45 deletions

View File

@@ -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;
}