1
0
Fork 1
mirror of https://github.com/SomboChea/ui synced 2024-05-12 22:41:37 +07:00

fix: dist-tags attribute #175 (#178)

This commit is contained in:
Thomas Klein 2019-10-12 00:06:18 +02:00 committed by Priscila Oliveira
parent 99621b6baf
commit 752e2b963d
2 changed files with 1 additions and 2 deletions

View File

@ -20,7 +20,6 @@ const Versions: React.FC = () => {
return null;
}
// @ts-ignore - Property 'dist-tags' does not exist on type 'PackageMetaInterface'
const { versions = {}, time = {}, [DIST_TAGS]: distTags = {} } = packageMeta;
return (

View File

@ -1,6 +1,6 @@
export interface PackageMetaInterface {
versions?: Versions;
distTags?: DistTags;
'dist-tags'?: DistTags;
time?: Time;
latest: {
author?: Author;